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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001022, allocations: 174.3 kB / 326.5 MB, free: 2.711 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.751/1.751, allocations: 205 MB / 0.5766 GB, free: 21.02 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.001113/0.001113, allocations: 85.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 11.44 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2418, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.8198/1.062, allocations: 233.6 MB / 1.125 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.077, allocations: 10.45 MB / 1.135 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/1.081, allocations: 51.84 kB / 1.135 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003544/1.084, allocations: 1.03 MB / 1.136 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.095, allocations: 3.409 MB / 1.139 GB, free: 448 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/1.101, allocations: 1.954 MB / 1.141 GB, free: 376 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009993/1.111, allocations: 6.397 MB / 1.148 GB, free: 356 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/1.114, allocations: 1.298 MB / 1.149 GB, free: 144 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/1.119, allocations: 1.403 MB / 1.15 GB, free: 136 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/1.123, allocations: 1.507 MB / 1.152 GB, free: 12 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008155/1.124, allocations: 75.78 kB / 1.152 GB, free: 12 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009075/1.133, allocations: 3.733 MB / 1.155 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001567/1.135, allocations: 0.5905 MB / 1.156 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003072/1.138, allocations: 0.9507 MB / 1.157 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006268/1.144, allocations: 2.826 MB / 1.16 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.144, allocations: 0 / 1.16 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/1.144, allocations: 0 / 1.16 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001303/1.145, allocations: 0 / 1.16 GB, free: 12.82 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.00705/1.152, allocations: 2.144 MB / 1.162 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.152, allocations: 9.75 kB / 1.162 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/1.156, allocations: 0.5292 MB / 1.162 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/1.16, allocations: 1.227 MB / 1.164 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.16, allocations: 106.3 kB / 1.164 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/1.161, allocations: 139 kB / 1.164 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/1.165, allocations: 1.691 MB / 1.165 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.106e-05/1.165, allocations: 4.5 kB / 1.165 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/1.165, allocations: 57.56 kB / 1.165 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.165, allocations: 71.84 kB / 1.166 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/1.169, allocations: 1.455 MB / 1.167 GB, free: 8.234 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.01241/1.181, allocations: 6.984 MB / 1.174 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.184, allocations: 1.18 MB / 1.175 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.185, allocations: 0.6031 MB / 1.176 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.186, allocations: 0.8707 MB / 1.176 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/1.187, allocations: 0.6189 MB / 1.177 GB, free: 80 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 6.572e-06/1.187, allocations: 0 / 1.177 GB, free: 80 kB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.0038/1.191, allocations: 1.578 MB / 1.179 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/1.191, allocations: 92.86 kB / 1.179 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/1.193, allocations: 1.194 MB / 1.18 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/1.193, allocations: 49.7 kB / 1.18 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/1.194, allocations: 0.6814 MB / 1.181 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/1.195, allocations: 387.7 kB / 1.181 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.195, allocations: 85.67 kB / 1.181 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.195, allocations: 345.9 kB / 1.181 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/1.196, allocations: 421.8 kB / 1.182 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008822/1.197, allocations: 0.5676 MB / 1.182 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/1.198, allocations: 1.009 MB / 1.183 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.198, allocations: 0 / 1.183 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002288/1.2, allocations: 1.222 MB / 1.184 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.201, allocations: 165.9 kB / 1.185 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.201, allocations: 4 kB / 1.185 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.201, allocations: 11.98 kB / 1.185 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/1.202, allocations: 212.7 kB / 1.185 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.202, allocations: 12 kB / 1.185 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.203, allocations: 172.4 kB / 1.185 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.993e-05/1.203, allocations: 36 kB / 1.185 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.203, allocations: 3.984 kB / 1.185 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/1.205, allocations: 1.034 MB / 1.186 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.205, allocations: 0 / 1.186 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.205, allocations: 11.94 kB / 1.186 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/1.206, allocations: 216.6 kB / 1.186 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/1.206, allocations: 14.45 kB / 1.186 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.208, allocations: 167 kB / 1.186 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/1.208, allocations: 35.98 kB / 1.186 GB, free: 7.535 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 ($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 (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.0009437/1.209, allocations: 491 kB / 1.187 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.209, allocations: 158.1 kB / 1.187 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/1.212, allocations: 1.242 MB / 1.188 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.212, allocations: 12 kB / 1.188 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.212, allocations: 0 / 1.188 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/1.213, allocations: 1.013 MB / 1.189 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005883/1.219, allocations: 3.157 MB / 1.192 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.219, allocations: 8.047 kB / 1.192 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.22, allocations: 230 kB / 1.193 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/1.22, allocations: 8 kB / 1.193 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/1.221, allocations: 35.97 kB / 1.193 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/1.221, allocations: 10.56 kB / 1.193 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.221, allocations: 4 kB / 1.193 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/1.224, allocations: 1.998 MB / 1.195 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.225, allocations: 370.9 kB / 1.195 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.225, allocations: 28 kB / 1.195 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.227, allocations: 126.9 kB / 1.195 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.227, allocations: 71.44 kB / 1.195 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/1.227, allocations: 39.98 kB / 1.195 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001359/1.228, allocations: 0.8297 MB / 1.196 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.01e-07/1.228, allocations: 0 / 1.196 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00246/1.231, allocations: 0.8531 MB / 1.197 GB, free: 12.74 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.001393/1.232, allocations: 0.5937 MB / 1.197 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002892/1.235, allocations: 1.604 MB / 1.199 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.235, allocations: 0 / 1.199 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/1.236, allocations: 0.5671 MB / 1.2 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.241, allocations: 0.8471 MB / 1.2 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/1.248, allocations: 4.063 MB / 1.204 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.249, allocations: 1.372 MB / 1.206 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/1.25, allocations: 119.4 kB / 1.206 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of SimCode: time 1.343e-06/1.25, allocations: 0 / 1.206 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.04492/1.295, allocations: 25.23 MB / 1.23 GB, free: 10.63 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)