Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IBPSA_latest_IBPSA_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.0009076/0.0009079, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.344/1.344, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6677/0.6677, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1697, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.173/1.342, allocations: 269.5 MB / 0.8201 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02461/1.367, allocations: 15.98 MB / 0.8357 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/1.371, allocations: 69.81 kB / 0.8358 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/1.376, allocations: 1.235 MB / 0.837 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/1.392, allocations: 4.686 MB / 0.8416 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008901/1.401, allocations: 2.022 MB / 0.8435 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01515/1.416, allocations: 9.368 MB / 0.8527 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004676/1.421, allocations: 1.927 MB / 0.8546 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006875/1.428, allocations: 2.386 MB / 0.8569 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/1.434, allocations: 2.623 MB / 0.8595 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009647/1.435, allocations: 160 kB / 0.8596 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/1.446, allocations: 3.051 MB / 0.8626 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002922/1.449, allocations: 1.156 MB / 0.8637 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002816/1.452, allocations: 0.6702 MB / 0.8644 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009523/1.462, allocations: 4.52 MB / 0.8688 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.462, allocations: 3.25 kB / 0.8688 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.216e-06/1.462, allocations: 0 / 0.8688 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002608/1.462, allocations: 2.906 kB / 0.8688 GB, free: 23.72 MB / 0.6387 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.01166/1.474, allocations: 3.59 MB / 0.8723 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.474, allocations: 12.25 kB / 0.8723 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/1.475, allocations: 368.4 kB / 0.8727 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006764/1.482, allocations: 0.9227 MB / 0.8736 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/1.487, allocations: 1.773 MB / 0.8753 GB, free: 20.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/1.487, allocations: 193.2 kB / 0.8755 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/1.489, allocations: 260.2 kB / 0.8757 GB, free: 20.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009006/1.498, allocations: 3.32 MB / 0.879 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/1.498, allocations: 7.188 kB / 0.879 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/1.499, allocations: 106 kB / 0.8791 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/1.499, allocations: 139.9 kB / 0.8792 GB, free: 19.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/1.507, allocations: 3.48 MB / 0.8826 GB, free: 19.05 MB / 0.6387 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.01999/1.527, allocations: 12.1 MB / 0.8944 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005224/1.532, allocations: 3.498 MB / 0.8978 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/1.535, allocations: 1.797 MB / 0.8996 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/1.537, allocations: 1.5 MB / 0.9011 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.468e-05/1.537, allocations: 68 kB / 0.9011 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=278): time 5.06e-06/1.537, allocations: 0 / 0.9011 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=278): time 0.007343/1.544, allocations: 3.86 MB / 0.9049 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/1.544, allocations: 85.31 kB / 0.905 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/1.547, allocations: 1.37 MB / 0.9063 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/1.547, allocations: 81.45 kB / 0.9064 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007881/1.548, allocations: 0.9801 MB / 0.9074 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.549, allocations: 0.9386 MB / 0.9083 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.549, allocations: 49.16 kB / 0.9083 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.55, allocations: 410.5 kB / 0.9087 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.551, allocations: 1.083 MB / 0.9098 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.553, allocations: 1.35 MB / 0.9111 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/1.556, allocations: 1.283 MB / 0.9123 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/1.556, allocations: 0 / 0.9123 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005222/1.561, allocations: 2.955 MB / 0.9152 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.561, allocations: 9.859 kB / 0.9152 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.561, allocations: 4 kB / 0.9152 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.546e-05/1.561, allocations: 16 kB / 0.9153 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.563, allocations: 0.5118 MB / 0.9158 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.194e-05/1.563, allocations: 22.52 kB / 0.9158 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/1.566, allocations: 380.3 kB / 0.9161 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.566, allocations: 82.36 kB / 0.9162 GB, free: 1.793 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001618/1.568, allocations: 0.6503 MB / 0.9169 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008487/1.569, allocations: 229.3 kB / 0.9171 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005728/1.575, allocations: 3.105 MB / 0.9201 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/1.575, allocations: 28 kB / 0.9201 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.575, allocations: 0 / 0.9201 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004126/1.579, allocations: 2.643 MB / 0.9227 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.591, allocations: 6.22 MB / 0.9288 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.591, allocations: 0 / 0.9288 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.594, allocations: 0.541 MB / 0.9293 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/1.594, allocations: 8 kB / 0.9293 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/1.594, allocations: 66.94 kB / 0.9294 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-05/1.594, allocations: 12 kB / 0.9294 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.594, allocations: 0 / 0.9294 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/1.602, allocations: 4.55 MB / 0.9338 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/1.604, allocations: 0.6093 MB / 0.9344 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007179/1.605, allocations: 50.75 kB / 0.9345 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.607, allocations: 228.6 kB / 0.9347 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/1.608, allocations: 166.6 kB / 0.9349 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.608, allocations: 83.41 kB / 0.9349 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001922/1.61, allocations: 0.9299 MB / 0.9358 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.653e-06/1.61, allocations: 0 / 0.9358 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003329/1.613, allocations: 0.9831 MB / 0.9368 GB, free: 3.008 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008319/1.622, allocations: 5.381 MB / 0.9421 GB, free: 15.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005107/1.627, allocations: 2.745 MB / 0.9447 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.627, allocations: 0 / 0.9447 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.629, allocations: 1.507 MB / 0.9462 GB, free: 12.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00708/1.636, allocations: 1.285 MB / 0.9475 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/1.668, allocations: 17.49 MB / 0.9645 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/1.671, allocations: 1.895 MB / 0.9664 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004216/1.675, allocations: 0.8436 MB / 0.9672 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.677, allocations: 1.086 MB / 0.9683 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of SimCode: time 1.282e-06/1.677, allocations: 4 kB / 0.9683 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.786, allocations: 67.72 MB / 1.034 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.787, allocations: 189.6 kB / 1.035 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/5.28, allocations: 8.062 kB / 1.035 GB, free: 5.926 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: