Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.541/2.541, allocations: 287.5 MB / 302.4 MB, free: 8.18 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.001316/0.001315, allocations: 185.1 kB / 371 MB, free: 10.87 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.237/2.237, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009104/0.00091, allocations: 91.78 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005243, allocations: 11.56 kB / 0.8659 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2487, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.046/1.294, allocations: 215 MB / 1.188 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02202/1.316, allocations: 9.61 MB / 1.198 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/1.319, allocations: 47.25 kB / 1.198 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003954/1.323, allocations: 0.8055 MB / 1.199 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/1.335, allocations: 2.621 MB / 1.201 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006874/1.341, allocations: 1.453 MB / 1.203 GB, free: 340 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01281/1.354, allocations: 5.251 MB / 1.208 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/1.357, allocations: 1.17 MB / 1.209 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/1.362, allocations: 1.355 MB / 1.21 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/1.366, allocations: 1.41 MB / 1.212 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006234/1.366, allocations: 78.19 kB / 1.212 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007606/1.374, allocations: 1.619 MB / 1.213 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/1.375, allocations: 0.5828 MB / 1.214 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009479/1.376, allocations: 399.4 kB / 1.214 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005684/1.382, allocations: 2.568 MB / 1.217 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.382, allocations: 0 / 1.217 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.876e-06/1.382, allocations: 0 / 1.217 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.678e-05/1.382, allocations: 0 / 1.217 GB, free: 7.973 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008496/1.391, allocations: 2.148 MB / 1.219 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.391, allocations: 8.031 kB / 1.219 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006963/1.391, allocations: 202.6 kB / 1.219 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/1.397, allocations: 0.5284 MB / 1.219 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/1.4, allocations: 1.178 MB / 1.221 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/1.4, allocations: 98.66 kB / 1.221 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/1.401, allocations: 132 kB / 1.221 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/1.406, allocations: 1.666 MB / 1.222 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.479e-05/1.406, allocations: 4 kB / 1.222 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/1.406, allocations: 59.98 kB / 1.223 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/1.406, allocations: 70.52 kB / 1.223 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/1.411, allocations: 1.447 MB / 1.224 GB, free: 248 kB / 0.7448 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.01454/1.426, allocations: 6.943 MB / 1.231 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/1.429, allocations: 1.197 MB / 1.232 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.43, allocations: 0.6161 MB / 1.233 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/1.432, allocations: 0.8633 MB / 1.233 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/1.434, allocations: 0.6025 MB / 1.234 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=110): time 3.907e-06/1.434, allocations: 0 / 1.234 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.005188/1.439, allocations: 1.576 MB / 1.236 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.439, allocations: 90.11 kB / 1.236 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/1.441, allocations: 1.186 MB / 1.237 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.442, allocations: 49.7 kB / 1.237 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/1.442, allocations: 0.6698 MB / 1.237 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006667/1.443, allocations: 386.4 kB / 1.238 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/1.443, allocations: 20 kB / 1.238 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.443, allocations: 341.9 kB / 1.238 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/1.445, allocations: 421.8 kB / 1.239 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.446, allocations: 0.5682 MB / 1.239 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/1.448, allocations: 494.8 kB / 1.24 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.448, allocations: 8 kB / 1.24 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003837/1.452, allocations: 1.214 MB / 1.241 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/1.452, allocations: 167.3 kB / 1.241 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.452, allocations: 4 kB / 1.241 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.452, allocations: 8 kB / 1.241 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.454, allocations: 212.2 kB / 1.241 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/1.454, allocations: 11.94 kB / 1.241 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.457, allocations: 180.3 kB / 1.241 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/1.457, allocations: 36 kB / 1.241 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.457, allocations: 4 kB / 1.241 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003422/1.461, allocations: 1.027 MB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.461, allocations: 11.94 kB / 1.242 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.461, allocations: 8.312 kB / 1.242 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.463, allocations: 215.7 kB / 1.243 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.463, allocations: 8 kB / 1.243 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.465, allocations: 166.9 kB / 1.243 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.465, allocations: 32 kB / 1.243 GB, free: 12.13 MB / 0.7761 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.001229/1.466, allocations: 490.9 kB / 1.243 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/1.467, allocations: 150.2 kB / 1.243 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/1.471, allocations: 1.247 MB / 1.245 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.471, allocations: 11.95 kB / 1.245 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.471, allocations: 3.984 kB / 1.245 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002927/1.474, allocations: 1.007 MB / 1.246 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/1.483, allocations: 3.159 MB / 1.249 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.483, allocations: 4 kB / 1.249 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/1.485, allocations: 236 kB / 1.249 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/1.485, allocations: 8 kB / 1.249 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.485, allocations: 27.98 kB / 1.249 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/1.485, allocations: 8 kB / 1.249 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.485, allocations: 7.938 kB / 1.249 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/1.491, allocations: 2 MB / 1.251 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.492, allocations: 362.9 kB / 1.251 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/1.492, allocations: 24 kB / 1.251 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.494, allocations: 111.8 kB / 1.251 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/1.494, allocations: 76.84 kB / 1.252 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.494, allocations: 39.98 kB / 1.252 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001697/1.496, allocations: 0.8138 MB / 1.252 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.685e-06/1.496, allocations: 4.031 kB / 1.252 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002745/1.499, allocations: 0.8376 MB / 1.253 GB, free: 1.301 MB / 0.7761 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.006939/1.506, allocations: 3.025 MB / 1.256 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004511/1.51, allocations: 1.604 MB / 1.258 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.51, allocations: 0 / 1.258 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.512, allocations: 0.5677 MB / 1.258 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006943/1.519, allocations: 0.8415 MB / 1.259 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02507/1.544, allocations: 9.657 MB / 1.269 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.545, allocations: 1.36 MB / 1.27 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003208/1.549, allocations: 455.6 kB / 1.27 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.55, allocations: 0.6243 MB / 1.271 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of SimCode: time 1.252e-06/1.55, allocations: 0 / 1.271 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.666, allocations: 41.59 MB / 1.312 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003844/1.666, allocations: 235.1 kB / 1.312 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/5.814, allocations: 0 / 1.312 GB, free: 5.414 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)