Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.579/2.579, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001593, allocations: 189.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 106.8 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005213, allocations: 19.91 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.113/1.334, allocations: 254.1 MB / 1.226 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.04389/1.378, allocations: 18.43 MB / 1.244 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005621/1.384, allocations: 63.62 kB / 1.244 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.009189/1.393, allocations: 1.874 MB / 1.246 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.02434/1.418, allocations: 5.34 MB / 1.252 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.429, allocations: 2.488 MB / 1.254 GB, free: 15 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01323/1.442, allocations: 5.151 MB / 1.259 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006076/1.448, allocations: 2.404 MB / 1.261 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009458/1.458, allocations: 2.789 MB / 1.264 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/1.464, allocations: 2.087 MB / 1.266 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/1.465, allocations: 196 kB / 1.266 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/1.478, allocations: 2.761 MB / 1.269 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003289/1.481, allocations: 1.325 MB / 1.27 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002581/1.484, allocations: 0.8005 MB / 1.271 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/1.496, allocations: 4.879 MB / 1.276 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.496, allocations: 0 / 1.276 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.534e-06/1.496, allocations: 0 / 1.276 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002131/1.497, allocations: 0 / 1.276 GB, free: 8.531 MB / 0.8073 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.0265/1.523, allocations: 4.214 MB / 1.28 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/1.523, allocations: 8.031 kB / 1.28 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00175/1.525, allocations: 459.5 kB / 1.28 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.536, allocations: 1.018 MB / 1.281 GB, free: 2.758 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007351/1.543, allocations: 2.069 MB / 1.283 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004236/1.544, allocations: 246.4 kB / 1.284 GB, free: 404 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/1.545, allocations: 331.8 kB / 1.284 GB, free: 72 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/1.56, allocations: 4.188 MB / 1.288 GB, free: 11.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/1.56, allocations: 0 / 1.288 GB, free: 11.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/1.561, allocations: 140 kB / 1.288 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/1.562, allocations: 174.3 kB / 1.288 GB, free: 11.49 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/1.578, allocations: 4.74 MB / 1.293 GB, free: 6.742 MB / 0.823 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.03626/1.615, allocations: 14.37 MB / 1.307 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/1.627, allocations: 4.535 MB / 1.311 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002726/1.629, allocations: 1.533 MB / 1.313 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/1.63, allocations: 85.67 kB / 1.313 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=392): time 6.663e-06/1.63, allocations: 3.938 kB / 1.313 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=392): time 0.01955/1.649, allocations: 5.488 MB / 1.318 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.649, allocations: 94.47 kB / 1.318 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/1.653, allocations: 1.651 MB / 1.32 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000728/1.654, allocations: 93.7 kB / 1.32 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.656, allocations: 1.128 MB / 1.321 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.658, allocations: 1.32 MB / 1.323 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/1.658, allocations: 64 kB / 1.323 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004101/1.659, allocations: 445 kB / 1.323 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/1.664, allocations: 1.545 MB / 1.325 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/1.67, allocations: 1.915 MB / 1.326 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/1.676, allocations: 1.823 MB / 1.328 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/1.676, allocations: 0 / 1.328 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01367/1.689, allocations: 4.142 MB / 1.332 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/1.689, allocations: 12.61 kB / 1.332 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/1.689, allocations: 4 kB / 1.332 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-05/1.69, allocations: 24 kB / 1.332 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006692/1.696, allocations: 0.6904 MB / 1.333 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-05/1.696, allocations: 19.98 kB / 1.333 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006114/1.702, allocations: 428.9 kB / 1.333 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008535/1.703, allocations: 112 kB / 1.334 GB, free: 11.69 MB / 0.8698 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.003043/1.706, allocations: 0.8015 MB / 1.334 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/1.708, allocations: 284.6 kB / 1.335 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.723, allocations: 4.405 MB / 1.339 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/1.723, allocations: 40 kB / 1.339 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.723, allocations: 3.938 kB / 1.339 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01213/1.735, allocations: 3.753 MB / 1.343 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02766/1.763, allocations: 8.589 MB / 1.351 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.763, allocations: 64 / 1.351 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007305/1.77, allocations: 0.7338 MB / 1.352 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/1.77, allocations: 16 kB / 1.352 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000735/1.771, allocations: 83.98 kB / 1.352 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.651e-05/1.771, allocations: 27.88 kB / 1.352 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.771, allocations: 4 kB / 1.352 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.791, allocations: 6.938 MB / 1.359 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003237/1.794, allocations: 0.7933 MB / 1.359 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.795, allocations: 75.94 kB / 1.359 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00529/1.8, allocations: 260.4 kB / 1.36 GB, free: 412 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.801, allocations: 242.7 kB / 1.36 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/1.802, allocations: 116 kB / 1.36 GB, free: 52 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00292/1.805, allocations: 1.125 MB / 1.361 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.945e-06/1.805, allocations: 0 / 1.361 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005135/1.81, allocations: 1.232 MB / 1.362 GB, free: 13.66 MB / 0.9011 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.02167/1.832, allocations: 8.508 MB / 1.371 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.844, allocations: 3.9 MB / 1.374 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.844, allocations: 1.312 kB / 1.374 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006014/1.85, allocations: 2.145 MB / 1.377 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01258/1.862, allocations: 1.477 MB / 1.378 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.892, allocations: 13.99 MB / 1.392 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/1.895, allocations: 2.255 MB / 1.394 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007822/1.903, allocations: 1.196 MB / 1.395 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004179/1.908, allocations: 1.37 MB / 1.396 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of SimCode: time 1.834e-06/1.908, allocations: 0 / 1.396 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8519/2.76, allocations: 83.29 MB / 1.478 GB, free: 347.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/2.76, allocations: 233.2 kB / 1.478 GB, free: 347.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/9.076, allocations: 7.031 kB / 1.478 GB, free: 347.1 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)