Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ReverseBuoyancy,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.0007035/0.0007035, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007413/0.0007413, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.131/1.131, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.488/1.488, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004391, allocations: 13.19 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5936/0.7725, allocations: 287 MB / 1.068 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.7958, allocations: 17.17 MB / 1.084 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.7994, allocations: 67.56 kB / 1.085 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.8037, allocations: 1.402 MB / 1.086 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/0.8173, allocations: 5.276 MB / 1.091 GB, free: 4.793 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006239/0.8235, allocations: 2.275 MB / 1.093 GB, free: 2.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.8347, allocations: 10.94 MB / 1.104 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/0.8388, allocations: 2.37 MB / 1.106 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.844, allocations: 2.853 MB / 1.109 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.8489, allocations: 3.15 MB / 1.112 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009232/0.8498, allocations: 196 kB / 1.112 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009038/0.8589, allocations: 3.488 MB / 1.116 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.8608, allocations: 1.469 MB / 1.117 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.8624, allocations: 0.7966 MB / 1.118 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007042/0.8695, allocations: 5.389 MB / 1.123 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8695, allocations: 0 / 1.123 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8695, allocations: 0 / 1.123 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002328/0.8697, allocations: 0 / 1.123 GB, free: 3.758 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01064/0.8804, allocations: 4.355 MB / 1.127 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.8804, allocations: 12.03 kB / 1.127 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009989/0.8814, allocations: 455.5 kB / 1.128 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.8874, allocations: 1.014 MB / 1.129 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/0.8906, allocations: 2.073 MB / 1.131 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.8907, allocations: 246.4 kB / 1.131 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004394/0.8912, allocations: 327.9 kB / 1.131 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006204/0.8974, allocations: 4.2 MB / 1.136 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.8975, allocations: 7.938 kB / 1.136 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.8978, allocations: 144 kB / 1.136 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.8979, allocations: 162.4 kB / 1.136 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006764/0.9047, allocations: 4.752 MB / 1.141 GB, free: 1.805 MB / 0.8419 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.01536/0.9201, allocations: 14.36 MB / 1.155 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.9254, allocations: 4.538 MB / 1.159 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/0.9285, allocations: 2.436 MB / 1.161 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.93, allocations: 1.62 MB / 1.163 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.9301, allocations: 81.59 kB / 1.163 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=392): time 4.689e-06/0.9301, allocations: 0 / 1.163 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=392): time 0.007847/0.9379, allocations: 5.496 MB / 1.168 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.938, allocations: 94.48 kB / 1.168 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.9399, allocations: 1.65 MB / 1.17 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.94, allocations: 93.7 kB / 1.17 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/0.9408, allocations: 1.124 MB / 1.171 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009505/0.9417, allocations: 1.321 MB / 1.173 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.9419, allocations: 68 kB / 1.173 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.9421, allocations: 441 kB / 1.173 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.9443, allocations: 1.553 MB / 1.175 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.9468, allocations: 1.927 MB / 1.176 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.9495, allocations: 1.827 MB / 1.178 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.9495, allocations: 0 / 1.178 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00603/0.9555, allocations: 4.139 MB / 1.182 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9555, allocations: 8 kB / 1.182 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.9556, allocations: 11.78 kB / 1.182 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.9556, allocations: 20.05 kB / 1.182 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.9583, allocations: 0.6983 MB / 1.183 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.203e-05/0.9583, allocations: 23.92 kB / 1.183 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.9609, allocations: 427.8 kB / 1.183 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.9612, allocations: 116 kB / 1.184 GB, free: 4.199 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001327/0.9625, allocations: 0.8015 MB / 1.184 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.9629, allocations: 292.5 kB / 1.185 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/0.9694, allocations: 4.405 MB / 1.189 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.9694, allocations: 39.98 kB / 1.189 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9695, allocations: 4 kB / 1.189 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004952/0.9744, allocations: 3.76 MB / 1.193 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.9862, allocations: 8.593 MB / 1.201 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.9862, allocations: 4 kB / 1.201 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/0.9891, allocations: 0.7337 MB / 1.202 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.9892, allocations: 16 kB / 1.202 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/0.9894, allocations: 87.97 kB / 1.202 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/0.9894, allocations: 19.95 kB / 1.202 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.9894, allocations: 7.938 kB / 1.202 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008658/0.9981, allocations: 6.777 MB / 1.208 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.9994, allocations: 0.7894 MB / 1.209 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.9998, allocations: 80.06 kB / 1.209 GB, free: 9.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.002, allocations: 271.5 kB / 1.21 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.002, allocations: 230.7 kB / 1.21 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.002, allocations: 112 kB / 1.21 GB, free: 8.785 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001344/1.004, allocations: 1.129 MB / 1.211 GB, free: 7.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 1.211 GB, free: 7.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002139/1.006, allocations: 1.236 MB / 1.212 GB, free: 6.395 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.009072/1.015, allocations: 7.718 MB / 1.22 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005168/1.02, allocations: 3.906 MB / 1.224 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.02, allocations: 4 kB / 1.224 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.023, allocations: 2.144 MB / 1.226 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/1.028, allocations: 1.537 MB / 1.227 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.059, allocations: 22.98 MB / 1.25 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.061, allocations: 2.197 MB / 1.252 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003713/1.064, allocations: 1.204 MB / 1.253 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.066, allocations: 1.366 MB / 1.254 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/1.066, allocations: 0 / 1.254 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4206/1.487, allocations: 84.75 MB / 1.337 GB, free: 345.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/1.487, allocations: 233.5 kB / 1.337 GB, free: 345.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/4.978, allocations: 4 kB / 1.337 GB, free: 345.1 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: