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.403/1.403, allocations: 252 MB / 268 MB, free: 10.86 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.001144/0.001143, allocations: 166.3 kB / 327.6 MB, free: 2.102 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.828/1.828, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0008885/0.0008884, allocations: 84.06 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 9 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2401, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7707/1.011, allocations: 230.8 MB / 1.127 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01583/1.027, allocations: 10.34 MB / 1.137 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/1.031, allocations: 49.25 kB / 1.137 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003925/1.035, allocations: 1.034 MB / 1.138 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009966/1.045, allocations: 3.411 MB / 1.141 GB, free: 444 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/1.05, allocations: 1.942 MB / 1.143 GB, free: 376 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009811/1.06, allocations: 6.403 MB / 1.149 GB, free: 364 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/1.063, allocations: 1.323 MB / 1.151 GB, free: 140 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/1.068, allocations: 1.404 MB / 1.152 GB, free: 140 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/1.072, allocations: 1.493 MB / 1.154 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006793/1.073, allocations: 82.09 kB / 1.154 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009187/1.082, allocations: 3.719 MB / 1.157 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/1.084, allocations: 0.5975 MB / 1.158 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003211/1.087, allocations: 0.968 MB / 1.159 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005767/1.093, allocations: 2.829 MB / 1.162 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.093, allocations: 0 / 1.162 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.355e-06/1.093, allocations: 0 / 1.162 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.54e-05/1.093, allocations: 4 kB / 1.162 GB, free: 12.94 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.006242/1.099, allocations: 2.136 MB / 1.164 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.099, allocations: 9.406 kB / 1.164 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/1.103, allocations: 0.5266 MB / 1.164 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/1.105, allocations: 1.23 MB / 1.165 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/1.105, allocations: 101.6 kB / 1.166 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/1.106, allocations: 140 kB / 1.166 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/1.109, allocations: 1.686 MB / 1.167 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/1.109, allocations: 5.812 kB / 1.167 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.109, allocations: 64.67 kB / 1.167 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/1.109, allocations: 67.77 kB / 1.167 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/1.111, allocations: 1.459 MB / 1.169 GB, free: 8.363 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.009936/1.121, allocations: 6.989 MB / 1.176 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/1.124, allocations: 1.169 MB / 1.177 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/1.125, allocations: 0.6223 MB / 1.177 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.126, allocations: 0.8629 MB / 1.178 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/1.127, allocations: 0.6201 MB / 1.179 GB, free: 208 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 4.198e-06/1.127, allocations: 0 / 1.179 GB, free: 208 kB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.003185/1.13, allocations: 1.577 MB / 1.18 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/1.13, allocations: 87.98 kB / 1.18 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.132, allocations: 1.197 MB / 1.182 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.132, allocations: 53.64 kB / 1.182 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/1.133, allocations: 0.6815 MB / 1.182 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/1.133, allocations: 388.1 kB / 1.183 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/1.133, allocations: 20 kB / 1.183 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.134, allocations: 341.9 kB / 1.183 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/1.134, allocations: 417.8 kB / 1.183 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008807/1.135, allocations: 0.5717 MB / 1.184 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.137, allocations: 1.015 MB / 1.185 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.137, allocations: 0 / 1.185 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002366/1.139, allocations: 1.219 MB / 1.186 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.139, allocations: 166 kB / 1.186 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.139, allocations: 8 kB / 1.186 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.139, allocations: 8 kB / 1.186 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/1.14, allocations: 212.7 kB / 1.187 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/1.14, allocations: 8 kB / 1.187 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.142, allocations: 172.8 kB / 1.187 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.142, allocations: 35.98 kB / 1.187 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/1.142, allocations: 6.438 kB / 1.187 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001782/1.144, allocations: 1.042 MB / 1.188 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.144, allocations: 0 / 1.188 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.144, allocations: 8 kB / 1.188 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/1.145, allocations: 212.7 kB / 1.188 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/1.145, allocations: 4 kB / 1.188 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.147, allocations: 163.2 kB / 1.188 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/1.147, allocations: 39.98 kB / 1.188 GB, free: 7.445 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.0009323/1.148, allocations: 497.3 kB / 1.189 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/1.148, allocations: 154.2 kB / 1.189 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/1.151, allocations: 1.242 MB / 1.19 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.151, allocations: 12 kB / 1.19 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.151, allocations: 0 / 1.19 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001718/1.152, allocations: 1.017 MB / 1.191 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/1.158, allocations: 3.166 MB / 1.194 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.158, allocations: 0 / 1.194 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.16, allocations: 240.5 kB / 1.194 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.591e-05/1.16, allocations: 8.312 kB / 1.194 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-05/1.16, allocations: 35.94 kB / 1.194 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/1.16, allocations: 7.938 kB / 1.194 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.16, allocations: 6.531 kB / 1.194 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003443/1.163, allocations: 2.002 MB / 1.196 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.164, allocations: 366.9 kB / 1.197 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/1.165, allocations: 35.92 kB / 1.197 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.166, allocations: 119.8 kB / 1.197 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.167, allocations: 75.48 kB / 1.197 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.167, allocations: 43.98 kB / 1.197 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001402/1.168, allocations: 0.8297 MB / 1.198 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/1.168, allocations: 0 / 1.198 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002771/1.171, allocations: 0.8453 MB / 1.199 GB, free: 12.63 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.001561/1.172, allocations: 0.5812 MB / 1.199 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003278/1.176, allocations: 1.611 MB / 1.201 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.176, allocations: 0 / 1.201 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.177, allocations: 0.566 MB / 1.201 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.182, allocations: 0.8462 MB / 1.202 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/1.189, allocations: 4.229 MB / 1.206 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.19, allocations: 1.371 MB / 1.208 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/1.191, allocations: 119.4 kB / 1.208 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/1.191, allocations: 0 / 1.208 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.0473/1.238, allocations: 25.24 MB / 1.232 GB, free: 10.35 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)