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 1.425/1.425, allocations: 287.4 MB / 302.6 MB, free: 8.27 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.0009383/0.0009384, allocations: 192.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.098/1.098, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006357/0.0006357, allocations: 102.9 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 10.19 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5164/0.6556, allocations: 287.1 MB / 1.259 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.6765, allocations: 17.17 MB / 1.276 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.679, allocations: 67.56 kB / 1.276 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.6827, allocations: 1.402 MB / 1.277 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.6947, allocations: 5.267 MB / 1.282 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005415/0.7002, allocations: 2.277 MB / 1.285 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.7103, allocations: 10.97 MB / 1.295 GB, free: 7.363 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/0.7138, allocations: 2.537 MB / 1.298 GB, free: 4.773 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.7183, allocations: 2.865 MB / 1.301 GB, free: 1.898 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004252/0.7226, allocations: 3.146 MB / 1.304 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.7233, allocations: 203.9 kB / 1.304 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007786/0.7311, allocations: 3.476 MB / 1.307 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.7327, allocations: 1.465 MB / 1.309 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.734, allocations: 0.7966 MB / 1.309 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005832/0.7399, allocations: 5.397 MB / 1.315 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7399, allocations: 0 / 1.315 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7399, allocations: 0 / 1.315 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001425/0.7401, allocations: 4 kB / 1.315 GB, free: 3.375 MB / 0.8386 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.00944/0.7495, allocations: 4.316 MB / 1.319 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.7495, allocations: 12.03 kB / 1.319 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004895/0.75, allocations: 459.5 kB / 1.319 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.755, allocations: 1.002 MB / 1.32 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.7581, allocations: 2.142 MB / 1.322 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.7583, allocations: 242.4 kB / 1.323 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.7587, allocations: 335.9 kB / 1.323 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005711/0.7644, allocations: 4.204 MB / 1.327 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.7645, allocations: 7.844 kB / 1.327 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.7648, allocations: 136 kB / 1.327 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.7649, allocations: 170.4 kB / 1.327 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.7717, allocations: 4.752 MB / 1.332 GB, free: 1.391 MB / 0.8542 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.01521/0.7869, allocations: 14.37 MB / 1.346 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.7922, allocations: 4.545 MB / 1.351 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.7952, allocations: 2.436 MB / 1.353 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.7966, allocations: 1.62 MB / 1.355 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.7967, allocations: 84.73 kB / 1.355 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=392): time 4.569e-06/0.7967, allocations: 0 / 1.355 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of matching and sorting (n=392): time 0.007596/0.8043, allocations: 5.5 MB / 1.36 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.8043, allocations: 90.48 kB / 1.36 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.8062, allocations: 1.644 MB / 1.362 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8063, allocations: 97.7 kB / 1.362 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006578/0.807, allocations: 1.12 MB / 1.363 GB, free: 468 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/0.8079, allocations: 1.324 MB / 1.364 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.808, allocations: 72 kB / 1.364 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8082, allocations: 437 kB / 1.365 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.8104, allocations: 1.553 MB / 1.366 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.8129, allocations: 1.931 MB / 1.368 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.818, allocations: 3.734 MB / 1.372 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8181, allocations: 0 / 1.372 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005654/0.8237, allocations: 4.143 MB / 1.376 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8238, allocations: 4 kB / 1.376 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.8238, allocations: 12.03 kB / 1.376 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.8238, allocations: 16 kB / 1.376 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.8264, allocations: 0.6943 MB / 1.376 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/0.8265, allocations: 20 kB / 1.376 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.829, allocations: 432.8 kB / 1.377 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.8292, allocations: 112 kB / 1.377 GB, free: 1.77 MB / 0.9011 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.001079/0.8303, allocations: 0.8092 MB / 1.378 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.8307, allocations: 288.5 kB / 1.378 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.8368, allocations: 4.397 MB / 1.382 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8369, allocations: 36 kB / 1.382 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.8369, allocations: 0 / 1.382 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004747/0.8416, allocations: 3.768 MB / 1.386 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.8532, allocations: 8.593 MB / 1.394 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.8533, allocations: 4 kB / 1.394 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/0.8562, allocations: 0.7337 MB / 1.395 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-05/0.8563, allocations: 16 kB / 1.395 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.8565, allocations: 91.97 kB / 1.395 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/0.8565, allocations: 23.94 kB / 1.395 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8565, allocations: 0 / 1.395 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/0.8651, allocations: 6.784 MB / 1.402 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.8663, allocations: 0.7933 MB / 1.403 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/0.8667, allocations: 72 kB / 1.403 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/0.8689, allocations: 260.4 kB / 1.403 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.8693, allocations: 238.6 kB / 1.403 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/0.8695, allocations: 116 kB / 1.403 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00134/0.8708, allocations: 1.129 MB / 1.404 GB, free: 5.215 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8709, allocations: 0 / 1.404 GB, free: 5.215 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002138/0.873, allocations: 1.232 MB / 1.406 GB, free: 3.98 MB / 0.9323 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.009303/0.8823, allocations: 7.705 MB / 1.413 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005281/0.8876, allocations: 3.909 MB / 1.417 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8876, allocations: 448 / 1.417 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.8902, allocations: 2.14 MB / 1.419 GB, free: 6.121 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006464/0.8967, allocations: 1.524 MB / 1.421 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2995/1.196, allocations: 22.97 MB / 1.443 GB, free: 338.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.198, allocations: 2.204 MB / 1.445 GB, free: 337.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003877/1.202, allocations: 1.197 MB / 1.446 GB, free: 337.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.204, allocations: 1.363 MB / 1.448 GB, free: 336.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/1.204, allocations: 0 / 1.448 GB, free: 336.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/1.501, allocations: 84.81 MB / 1.53 GB, free: 275.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.501, allocations: 234.1 kB / 1.531 GB, free: 275.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.179/5.68, allocations: 0 / 1.531 GB, free: 275.7 MB / 0.948 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)