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.442/1.442, allocations: 252 MB / 267 MB, free: 10.96 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.00109/0.00109, allocations: 184.6 kB / 326.6 MB, free: 2.223 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.995/1.995, allocations: 205.4 MB / 0.5777 GB, free: 20.32 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.001016/0.001016, allocations: 85.55 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 9.719 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7993/1.062, allocations: 215.4 MB / 1.111 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01761/1.08, allocations: 9.73 MB / 1.12 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/1.083, allocations: 53.56 kB / 1.12 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/1.087, allocations: 0.8008 MB / 1.121 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009789/1.097, allocations: 2.636 MB / 1.124 GB, free: 3.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/1.102, allocations: 1.487 MB / 1.125 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00824/1.111, allocations: 5.377 MB / 1.13 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/1.114, allocations: 1.201 MB / 1.131 GB, free: 3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/1.118, allocations: 1.387 MB / 1.133 GB, free: 3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/1.121, allocations: 1.418 MB / 1.134 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003582/1.121, allocations: 80.72 kB / 1.134 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/1.127, allocations: 1.619 MB / 1.136 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009497/1.128, allocations: 0.5921 MB / 1.136 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.129, allocations: 414.7 kB / 1.137 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005109/1.134, allocations: 2.613 MB / 1.139 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/1.134, allocations: 0.6875 kB / 1.139 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.604e-06/1.134, allocations: 0 / 1.139 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.104e-05/1.134, allocations: 0.625 kB / 1.139 GB, free: 18.27 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.007382/1.141, allocations: 2.162 MB / 1.141 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.411e-05/1.141, allocations: 8.469 kB / 1.141 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00068/1.142, allocations: 204.1 kB / 1.142 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/1.146, allocations: 0.5284 MB / 1.142 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/1.148, allocations: 1.186 MB / 1.143 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/1.148, allocations: 100.5 kB / 1.143 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/1.149, allocations: 137 kB / 1.144 GB, free: 16.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/1.152, allocations: 1.678 MB / 1.145 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/1.152, allocations: 12.89 kB / 1.145 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.152, allocations: 57.19 kB / 1.145 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.159e-05/1.152, allocations: 71.72 kB / 1.145 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/1.154, allocations: 1.446 MB / 1.147 GB, free: 15.25 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.01068/1.165, allocations: 6.983 MB / 1.154 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.167, allocations: 1.165 MB / 1.155 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/1.168, allocations: 0.6089 MB / 1.155 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009706/1.169, allocations: 0.8616 MB / 1.156 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.17, allocations: 0.6112 MB / 1.157 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 6.392e-06/1.17, allocations: 6.922 kB / 1.157 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.003179/1.173, allocations: 1.565 MB / 1.158 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/1.173, allocations: 86.67 kB / 1.158 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.175, allocations: 1.19 MB / 1.159 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/1.175, allocations: 54.2 kB / 1.16 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/1.176, allocations: 0.6786 MB / 1.16 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/1.176, allocations: 384.2 kB / 1.161 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/1.176, allocations: 21.88 kB / 1.161 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.176, allocations: 351.5 kB / 1.161 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/1.177, allocations: 413 kB / 1.161 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/1.178, allocations: 0.5604 MB / 1.162 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/1.179, allocations: 492.6 kB / 1.162 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.179, allocations: 8.375 kB / 1.162 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002246/1.181, allocations: 1.196 MB / 1.164 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.181, allocations: 173.9 kB / 1.164 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.181, allocations: 2.938 kB / 1.164 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/1.181, allocations: 6.375 kB / 1.164 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.182, allocations: 214 kB / 1.164 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.182, allocations: 12.72 kB / 1.164 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.184, allocations: 185.3 kB / 1.164 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/1.184, allocations: 36.61 kB / 1.164 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.184, allocations: 5.562 kB / 1.164 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/1.186, allocations: 1.023 MB / 1.165 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.186, allocations: 2.75 kB / 1.165 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/1.186, allocations: 7.375 kB / 1.165 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/1.187, allocations: 216.9 kB / 1.165 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.187, allocations: 7.969 kB / 1.165 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.189, allocations: 160.8 kB / 1.165 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/1.189, allocations: 42.14 kB / 1.166 GB, free: 6.559 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001022/1.19, allocations: 492.2 kB / 1.166 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/1.19, allocations: 151.6 kB / 1.166 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/1.192, allocations: 1.24 MB / 1.167 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.192, allocations: 12.81 kB / 1.167 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.192, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/1.194, allocations: 0.997 MB / 1.168 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/1.199, allocations: 3.168 MB / 1.171 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.199, allocations: 3.875 kB / 1.171 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/1.2, allocations: 234.2 kB / 1.172 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.2, allocations: 11.86 kB / 1.172 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/1.2, allocations: 24.47 kB / 1.172 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/1.2, allocations: 13.89 kB / 1.172 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.2, allocations: 3.5 kB / 1.172 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/1.203, allocations: 1.99 MB / 1.174 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.204, allocations: 368 kB / 1.174 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.204, allocations: 29.98 kB / 1.174 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.206, allocations: 126.6 kB / 1.174 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.206, allocations: 77.53 kB / 1.174 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/1.206, allocations: 39.11 kB / 1.174 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001294/1.207, allocations: 0.8186 MB / 1.175 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.207, allocations: 0 / 1.175 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00237/1.21, allocations: 0.8453 MB / 1.176 GB, free: 1.824 MB / 0.7136 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 (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.004857/1.214, allocations: 3.033 MB / 1.179 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002885/1.217, allocations: 1.593 MB / 1.18 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.217, allocations: 4 kB / 1.18 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008896/1.218, allocations: 0.5623 MB / 1.181 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/1.223, allocations: 0.8343 MB / 1.182 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.241, allocations: 9.694 MB / 1.191 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.242, allocations: 1.369 MB / 1.193 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002518/1.245, allocations: 451.6 kB / 1.193 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.246, allocations: 0.6222 MB / 1.194 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of SimCode: time 2.756e-06/1.246, allocations: 0 / 1.194 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09002/1.336, allocations: 41.87 MB / 1.235 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.337, allocations: 243.2 kB / 1.235 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.569/4.905, allocations: 8 kB / 1.235 GB, free: 9.285 MB / 0.7761 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)