Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 193.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4838, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7045/1.188, allocations: 291.7 MB / 1.302 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01872/1.207, allocations: 16.94 MB / 1.318 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/1.21, allocations: 70.81 kB / 1.318 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/1.213, allocations: 1.695 MB / 1.32 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/1.225, allocations: 6.064 MB / 1.326 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00554/1.231, allocations: 2.704 MB / 1.329 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006936/1.238, allocations: 7.708 MB / 1.336 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/1.24, allocations: 2.532 MB / 1.339 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004263/1.245, allocations: 2.816 MB / 1.341 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/1.249, allocations: 2.878 MB / 1.344 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/1.25, allocations: 324.2 kB / 1.344 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009773/1.259, allocations: 6.434 MB / 1.351 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/1.261, allocations: 1.333 MB / 1.352 GB, free: 360 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/1.263, allocations: 1.883 MB / 1.354 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/1.276, allocations: 7.287 MB / 1.361 GB, free: 15.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.276, allocations: 0 / 1.361 GB, free: 15.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/1.276, allocations: 4 kB / 1.361 GB, free: 15.13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.432e-05/1.276, allocations: 0 / 1.361 GB, free: 15.13 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.008687/1.285, allocations: 4.122 MB / 1.365 GB, free: 13.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/1.285, allocations: 8 kB / 1.365 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004014/1.285, allocations: 371.8 kB / 1.365 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005583/1.291, allocations: 0.9185 MB / 1.366 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.293, allocations: 1.841 MB / 1.368 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.293, allocations: 194.7 kB / 1.368 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/1.294, allocations: 262.5 kB / 1.369 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/1.298, allocations: 3.339 MB / 1.372 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/1.299, allocations: 9.531 kB / 1.372 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/1.299, allocations: 106.7 kB / 1.372 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.299, allocations: 136.9 kB / 1.372 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/1.304, allocations: 3.5 MB / 1.375 GB, free: 8.355 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/1.317, allocations: 12.1 MB / 1.387 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/1.322, allocations: 3.515 MB / 1.391 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0024/1.324, allocations: 1.811 MB / 1.392 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.325, allocations: 1.492 MB / 1.394 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/1.326, allocations: 68.75 kB / 1.394 GB, free: 9.438 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.318e-06/1.326, allocations: 0 / 1.394 GB, free: 9.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.006772/1.332, allocations: 3.884 MB / 1.398 GB, free: 5.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/1.332, allocations: 81.59 kB / 1.398 GB, free: 5.414 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.334, allocations: 1.376 MB / 1.399 GB, free: 4.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/1.334, allocations: 77.7 kB / 1.399 GB, free: 3.949 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/1.335, allocations: 0.9838 MB / 1.4 GB, free: 2.957 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/1.336, allocations: 0.947 MB / 1.401 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005786/1.336, allocations: 405 kB / 1.402 GB, free: 1.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/1.337, allocations: 301.1 kB / 1.402 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.338, allocations: 1.098 MB / 1.403 GB, free: 220 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/1.34, allocations: 1.36 MB / 1.404 GB, free: 14.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.343, allocations: 2.651 MB / 1.407 GB, free: 12.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.343, allocations: 3.938 kB / 1.407 GB, free: 12.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004345/1.348, allocations: 2.982 MB / 1.41 GB, free: 9.059 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.348, allocations: 12.06 kB / 1.41 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.348, allocations: 4 kB / 1.41 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.348, allocations: 16 kB / 1.41 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/1.35, allocations: 0.5095 MB / 1.41 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/1.35, allocations: 15.09 kB / 1.41 GB, free: 8.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/1.352, allocations: 377.7 kB / 1.411 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.353, allocations: 87.98 kB / 1.411 GB, free: 8.078 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00107/1.354, allocations: 0.6449 MB / 1.411 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/1.354, allocations: 229.3 kB / 1.412 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/1.359, allocations: 3.116 MB / 1.415 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.359, allocations: 28 kB / 1.415 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.359, allocations: 0 / 1.415 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003529/1.362, allocations: 2.653 MB / 1.417 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008665/1.371, allocations: 6.217 MB / 1.423 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.371, allocations: 0 / 1.423 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.373, allocations: 0.5464 MB / 1.424 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.373, allocations: 8 kB / 1.424 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.373, allocations: 59.98 kB / 1.424 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/1.373, allocations: 8 kB / 1.424 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.373, allocations: 3.938 kB / 1.424 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/1.38, allocations: 4.582 MB / 1.428 GB, free: 5.797 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.381, allocations: 0.6071 MB / 1.429 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/1.381, allocations: 48 kB / 1.429 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.383, allocations: 225.3 kB / 1.429 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/1.383, allocations: 169.9 kB / 1.429 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.383, allocations: 86.88 kB / 1.43 GB, free: 4.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001174/1.385, allocations: 0.9462 MB / 1.43 GB, free: 3.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.385, allocations: 0 / 1.43 GB, free: 3.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00188/1.386, allocations: 0.9784 MB / 1.431 GB, free: 2.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006648/1.393, allocations: 5.386 MB / 1.437 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.404, allocations: 5.539 MB / 1.442 GB, free: 7.793 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.404, allocations: 3.938 kB / 1.442 GB, free: 7.789 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/1.406, allocations: 1.508 MB / 1.444 GB, free: 6.328 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.411, allocations: 1.356 MB / 1.445 GB, free: 5.004 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/1.441, allocations: 22.38 MB / 1.467 GB, free: 13.39 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.442, allocations: 1.899 MB / 1.469 GB, free: 11.46 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002838/1.445, allocations: 0.8436 MB / 1.469 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.446, allocations: 1.085 MB / 1.47 GB, free: 9.527 MB / 1.107 GB Notification: Performance of SimCode: time 7.51e-07/1.446, allocations: 0 / 1.47 GB, free: 9.527 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/1.535, allocations: 67.24 MB / 1.536 GB, free: 7.156 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.535, allocations: 207 kB / 1.536 GB, free: 6.902 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.782, allocations: 0 / 1.536 GB, free: 6.902 MB / 1.17 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)