Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001023, allocations: 172.8 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.578 GB, free: 20.42 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009021, allocations: 97.91 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 9 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 106.3 MB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7874/1.028, allocations: 230.8 MB / 1.126 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01474/1.043, allocations: 10.34 MB / 1.136 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/1.047, allocations: 47.47 kB / 1.136 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0031/1.05, allocations: 1.033 MB / 1.137 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/1.062, allocations: 3.413 MB / 1.141 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00592/1.068, allocations: 1.951 MB / 1.143 GB, free: 436 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008977/1.077, allocations: 6.395 MB / 1.149 GB, free: 424 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/1.08, allocations: 1.319 MB / 1.15 GB, free: 204 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/1.083, allocations: 1.408 MB / 1.152 GB, free: 196 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/1.087, allocations: 1.498 MB / 1.153 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005257/1.087, allocations: 75.16 kB / 1.153 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00804/1.095, allocations: 3.718 MB / 1.157 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/1.097, allocations: 0.5974 MB / 1.157 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/1.099, allocations: 0.9694 MB / 1.158 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/1.111, allocations: 3.942 MB / 1.162 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.111, allocations: 0 / 1.162 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.765e-06/1.111, allocations: 0 / 1.162 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001616/1.111, allocations: 0 / 1.162 GB, free: 12.28 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.009101/1.12, allocations: 2.146 MB / 1.164 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/1.12, allocations: 8 kB / 1.164 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005835/1.121, allocations: 207.9 kB / 1.164 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/1.125, allocations: 0.5239 MB / 1.165 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/1.127, allocations: 1.224 MB / 1.166 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.127, allocations: 104.9 kB / 1.166 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/1.127, allocations: 140.8 kB / 1.166 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003044/1.13, allocations: 1.688 MB / 1.168 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.13, allocations: 3.25 kB / 1.168 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/1.13, allocations: 51.53 kB / 1.168 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/1.131, allocations: 78.98 kB / 1.168 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/1.133, allocations: 1.46 MB / 1.17 GB, free: 7.543 MB / 0.7136 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.00859/1.142, allocations: 6.989 MB / 1.176 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/1.143, allocations: 1.176 MB / 1.178 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/1.144, allocations: 0.6146 MB / 1.178 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008344/1.145, allocations: 0.8641 MB / 1.179 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009796/1.146, allocations: 0.6179 MB / 1.18 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 2.986e-06/1.146, allocations: 4 kB / 1.18 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002932/1.149, allocations: 1.574 MB / 1.181 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.149, allocations: 97.98 kB / 1.181 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.151, allocations: 1.198 MB / 1.182 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/1.151, allocations: 49.7 kB / 1.182 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/1.151, allocations: 0.6814 MB / 1.183 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/1.152, allocations: 384.6 kB / 1.183 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/1.152, allocations: 20 kB / 1.184 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.152, allocations: 341.9 kB / 1.184 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/1.152, allocations: 425.8 kB / 1.184 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007936/1.153, allocations: 0.5676 MB / 1.185 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/1.155, allocations: 1.015 MB / 1.186 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.155, allocations: 3.938 kB / 1.186 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002009/1.157, allocations: 1.218 MB / 1.187 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/1.157, allocations: 163.2 kB / 1.187 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.157, allocations: 0 / 1.187 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.157, allocations: 8 kB / 1.187 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/1.158, allocations: 220.6 kB / 1.187 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.158, allocations: 6.625 kB / 1.187 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.159, allocations: 174.9 kB / 1.188 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/1.159, allocations: 36 kB / 1.188 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.159, allocations: 7.938 kB / 1.188 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/1.161, allocations: 1.03 MB / 1.189 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.161, allocations: 4.312 kB / 1.189 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-06/1.161, allocations: 8 kB / 1.189 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/1.162, allocations: 212.7 kB / 1.189 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.162, allocations: 8 kB / 1.189 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.163, allocations: 164.4 kB / 1.189 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/1.163, allocations: 39.98 kB / 1.189 GB, free: 6.242 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0008309/1.164, allocations: 492.4 kB / 1.189 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.164, allocations: 158.1 kB / 1.19 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/1.167, allocations: 1.239 MB / 1.191 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.167, allocations: 8 kB / 1.191 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.167, allocations: 0 / 1.191 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/1.168, allocations: 1.009 MB / 1.192 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/1.173, allocations: 3.168 MB / 1.195 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.173, allocations: 320 / 1.195 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.174, allocations: 244.6 kB / 1.195 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.174, allocations: 7.938 kB / 1.195 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/1.174, allocations: 35.92 kB / 1.195 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.174, allocations: 8 kB / 1.195 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.174, allocations: 2.438 kB / 1.195 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/1.177, allocations: 1.999 MB / 1.197 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/1.178, allocations: 370.9 kB / 1.197 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/1.178, allocations: 27.94 kB / 1.198 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.179, allocations: 133 kB / 1.198 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.179, allocations: 68.91 kB / 1.198 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/1.179, allocations: 40.05 kB / 1.198 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00105/1.18, allocations: 0.8375 MB / 1.199 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.72e-07/1.18, allocations: 2.625 kB / 1.199 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001786/1.182, allocations: 0.8376 MB / 1.199 GB, free: 11.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004202/1.186, allocations: 3.039 MB / 1.202 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002734/1.189, allocations: 1.608 MB / 1.204 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.189, allocations: 2.531 kB / 1.204 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/1.19, allocations: 0.5632 MB / 1.204 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/1.194, allocations: 0.8382 MB / 1.205 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.214, allocations: 12.72 MB / 1.218 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/1.215, allocations: 1.376 MB / 1.219 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002041/1.217, allocations: 455.6 kB / 1.22 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/1.218, allocations: 0.6203 MB / 1.22 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of SimCode: time 1.152e-06/1.218, allocations: 2.531 kB / 1.22 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/1.283, allocations: 40.66 MB / 1.26 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.283, allocations: 261.3 kB / 1.26 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/4.649, allocations: 6.531 kB / 1.26 GB, free: 13.35 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)