Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 111.3 kB / 16.38 MB, free: 6.02 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.001268/0.001268, allocations: 184.5 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001527, allocations: 76.62 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2084, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5867/0.7951, allocations: 235.8 MB / 1.015 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.8099, allocations: 10.2 MB / 1.025 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.8125, allocations: 59.69 kB / 1.025 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/0.8156, allocations: 1.189 MB / 1.026 GB, free: 2.543 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.009392/0.825, allocations: 3.605 MB / 1.03 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00514/0.8302, allocations: 2.077 MB / 1.032 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005581/0.8358, allocations: 4.438 MB / 1.036 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.8379, allocations: 1.569 MB / 1.038 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.8407, allocations: 1.596 MB / 1.039 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.8437, allocations: 1.491 MB / 1.041 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.8441, allocations: 184 kB / 1.041 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.8508, allocations: 3.246 MB / 1.044 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009768/0.8518, allocations: 0.6973 MB / 1.045 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.8532, allocations: 1.062 MB / 1.046 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007206/0.8604, allocations: 3.829 MB / 1.05 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8605, allocations: 4 kB / 1.05 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8605, allocations: 0 / 1.05 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.864e-05/0.8606, allocations: 0 / 1.05 GB, free: 10.66 MB / 0.8419 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.005212/0.8658, allocations: 2.485 MB / 1.052 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8658, allocations: 8.031 kB / 1.052 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.8691, allocations: 0.5206 MB / 1.052 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.8712, allocations: 1.279 MB / 1.054 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.8713, allocations: 94.66 kB / 1.054 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8715, allocations: 147.8 kB / 1.054 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.8743, allocations: 1.666 MB / 1.056 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.8743, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.8744, allocations: 55.98 kB / 1.056 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/0.8745, allocations: 74.52 kB / 1.056 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.8769, allocations: 1.435 MB / 1.057 GB, free: 2.711 MB / 0.8419 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.00817/0.8851, allocations: 6.969 MB / 1.064 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.8869, allocations: 1.188 MB / 1.065 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008791/0.8877, allocations: 0.6171 MB / 1.066 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008104/0.8886, allocations: 0.8555 MB / 1.066 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009924/0.8896, allocations: 0.6103 MB / 1.067 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=110): time 3.907e-06/0.8896, allocations: 0 / 1.067 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.003022/0.8926, allocations: 1.572 MB / 1.069 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.8927, allocations: 94.05 kB / 1.069 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.8941, allocations: 1.189 MB / 1.07 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.8942, allocations: 49.7 kB / 1.07 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.8947, allocations: 0.6789 MB / 1.071 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.895, allocations: 378.4 kB / 1.071 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.8953, allocations: 178.6 kB / 1.071 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8954, allocations: 349.9 kB / 1.071 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.8961, allocations: 428.6 kB / 1.072 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.8969, allocations: 0.5574 MB / 1.072 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.8985, allocations: 1.017 MB / 1.073 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.8985, allocations: 4 kB / 1.073 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002052/0.9005, allocations: 1.21 MB / 1.075 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9006, allocations: 8 kB / 1.075 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9006, allocations: 4 kB / 1.075 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9006, allocations: 4 kB / 1.075 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.9016, allocations: 227.6 kB / 1.075 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.9016, allocations: 4 kB / 1.075 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.9029, allocations: 98.92 kB / 1.075 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.903, allocations: 40.16 kB / 1.075 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001317/0.9043, allocations: 0.7361 MB / 1.076 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007897/0.9051, allocations: 0.5541 MB / 1.076 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001477/0.9066, allocations: 0.9893 MB / 1.077 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.9066, allocations: 0 / 1.077 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002067/0.9087, allocations: 1.195 MB / 1.078 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9087, allocations: 8.312 kB / 1.078 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.9087, allocations: 4 kB / 1.078 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9087, allocations: 8 kB / 1.078 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.9096, allocations: 207.7 kB / 1.079 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.9096, allocations: 14.12 kB / 1.079 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.9108, allocations: 76.39 kB / 1.079 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.9109, allocations: 40 kB / 1.079 GB, free: 11.66 MB / 0.8731 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.000308/0.9112, allocations: 243.9 kB / 1.079 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.9114, allocations: 154.2 kB / 1.079 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.9136, allocations: 1.232 MB / 1.08 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/0.9151, allocations: 1.015 MB / 1.081 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.9151, allocations: 2.125 kB / 1.081 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.9159, allocations: 351 kB / 1.082 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.9161, allocations: 20 kB / 1.082 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.9169, allocations: 31.98 kB / 1.082 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.9171, allocations: 64.91 kB / 1.082 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002597/0.9197, allocations: 1.294 MB / 1.083 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003093/0.9228, allocations: 2.052 MB / 1.085 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008323/0.9237, allocations: 0.5388 MB / 1.086 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001208/0.9249, allocations: 0.8216 MB / 1.086 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of Backend: time 5.21e-07/0.9249, allocations: 0 / 1.086 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005567/0.9305, allocations: 2.321 MB / 1.089 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of SimCode: time 0.006564/0.9371, allocations: 3.935 MB / 1.092 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of Templates: time 0.06182/0.9989, allocations: 41.03 MB / 1.132 GB, free: 5.195 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)