Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008881, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005/0.005, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 11.19 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1573/0.4114, allocations: 163 MB / 1.218 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.4229, allocations: 8.829 MB / 1.227 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.4238, allocations: 39.75 kB / 1.227 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.4252, allocations: 0.5558 MB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.4279, allocations: 1.388 MB / 1.229 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4303, allocations: 1.062 MB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003275/0.4336, allocations: 3.666 MB / 1.233 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.4345, allocations: 0.8086 MB / 1.234 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.4356, allocations: 0.8673 MB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.4366, allocations: 0.9686 MB / 1.236 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.4367, allocations: 44 kB / 1.236 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.4385, allocations: 1.006 MB / 1.237 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.4388, allocations: 223 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.4393, allocations: 0.5688 MB / 1.238 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.4409, allocations: 1.662 MB / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4409, allocations: 0 / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4409, allocations: 0 / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4409, allocations: 0 / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002075/0.443, allocations: 1.357 MB / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4431, allocations: 11.97 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4432, allocations: 131 kB / 1.241 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.4435, allocations: 143.3 kB / 1.241 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.4446, allocations: 0.8634 MB / 1.242 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.4446, allocations: 58 kB / 1.242 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4447, allocations: 80 kB / 1.242 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.446, allocations: 0.8694 MB / 1.243 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.446, allocations: 7.938 kB / 1.243 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.4461, allocations: 36 kB / 1.243 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4461, allocations: 16 kB / 1.243 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.4472, allocations: 0.6402 MB / 1.243 GB, free: 7.09 MB / 0.9981 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.003868/0.4511, allocations: 3.966 MB / 1.247 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.4522, allocations: 0.5823 MB / 1.248 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.4527, allocations: 293.1 kB / 1.248 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.4535, allocations: 1.243 MB / 1.249 GB, free: 488 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.4541, allocations: 339 kB / 1.249 GB, free: 140 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=63): time 2.004e-06/0.4541, allocations: 4 kB / 1.249 GB, free: 136 kB / 0.9981 GB Notification: Performance of matching and sorting (n=63): time 0.4803/0.9344, allocations: 1.143 MB / 1.251 GB, free: 20.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.9345, allocations: 85.55 kB / 1.251 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/0.9354, allocations: 0.8672 MB / 1.252 GB, free: 20.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.9355, allocations: 35.73 kB / 1.252 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.9358, allocations: 469.9 kB / 1.252 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.9359, allocations: 215.7 kB / 1.252 GB, free: 20.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.936, allocations: 55.72 kB / 1.252 GB, free: 20.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.936, allocations: 329.5 kB / 1.253 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.9364, allocations: 205.8 kB / 1.253 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.9369, allocations: 320.8 kB / 1.253 GB, free: 20.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.9377, allocations: 0.5394 MB / 1.254 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9377, allocations: 0.75 kB / 1.254 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001093/0.9388, allocations: 0.72 MB / 1.254 GB, free: 19.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.9388, allocations: 159.8 kB / 1.254 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9389, allocations: 2.656 kB / 1.254 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004784/0.9393, allocations: 111.5 kB / 1.255 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.9398, allocations: 122.5 kB / 1.255 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000374/0.9401, allocations: 0.6617 MB / 1.255 GB, free: 19.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.9407, allocations: 95.56 kB / 1.255 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.9407, allocations: 29.22 kB / 1.255 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.9408, allocations: 4.75 kB / 1.255 GB, free: 19.16 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008075/0.9416, allocations: 0.5742 MB / 1.256 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9416, allocations: 2.312 kB / 1.256 GB, free: 19.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.9419, allocations: 111 kB / 1.256 GB, free: 19.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.9423, allocations: 115.5 kB / 1.256 GB, free: 19.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003385/0.9427, allocations: 0.666 MB / 1.257 GB, free: 18.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.9431, allocations: 85.17 kB / 1.257 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.9432, allocations: 29.22 kB / 1.257 GB, free: 18.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.9435, allocations: 324.7 kB / 1.257 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.9435, allocations: 103.2 kB / 1.257 GB, free: 18.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.945, allocations: 0.9525 MB / 1.258 GB, free: 18.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.945, allocations: 8.312 kB / 1.258 GB, free: 18.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.945, allocations: 4 kB / 1.258 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009799/0.946, allocations: 0.8625 MB / 1.259 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9481, allocations: 1.858 MB / 1.261 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.9481, allocations: 0.6094 kB / 1.261 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.9485, allocations: 106.8 kB / 1.261 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005281/0.9491, allocations: 160.4 kB / 1.261 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.9491, allocations: 21.89 kB / 1.261 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005828/0.9497, allocations: 1.25 MB / 1.263 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9497, allocations: 2.906 kB / 1.263 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.9514, allocations: 1.286 MB / 1.264 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.9517, allocations: 272.8 kB / 1.264 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.9518, allocations: 18.52 kB / 1.264 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.9523, allocations: 58.2 kB / 1.264 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/0.9524, allocations: 48.28 kB / 1.264 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.9524, allocations: 30.72 kB / 1.264 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005946/0.953, allocations: 0.6049 MB / 1.265 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9531, allocations: 3.688 kB / 1.265 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001148/0.9542, allocations: 0.5487 MB / 1.265 GB, free: 15.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003506/0.9577, allocations: 2.452 MB / 1.268 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.9594, allocations: 0.9292 MB / 1.269 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9595, allocations: 1.562 kB / 1.269 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.9601, allocations: 392.3 kB / 1.269 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.9621, allocations: 431.1 kB / 1.269 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.9723, allocations: 8.094 MB / 1.277 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.9728, allocations: 1.071 MB / 1.278 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.9737, allocations: 222.1 kB / 1.279 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.9741, allocations: 407.7 kB / 1.279 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.9741, allocations: 1.312 kB / 1.279 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08297/1.057, allocations: 28.38 MB / 1.307 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.057, allocations: 302.4 kB / 1.307 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.474, allocations: 0 / 1.307 GB, free: 7.387 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)