Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7335/0.7335, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009978, allocations: 188.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.3 MB / 441.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 91.56 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001693, allocations: 277 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.139e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.521/3.946, allocations: 1.882 GB / 2.647 GB, free: 165.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/3.946, allocations: 93.67 kB / 2.647 GB, free: 165.6 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 1.754/5.7, allocations: 0.612 GB / 3.259 GB, free: 75.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/5.7, allocations: 3.938 kB / 3.259 GB, free: 75.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.353e-05/5.7, allocations: 28 kB / 3.259 GB, free: 75.76 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003404/5.703, allocations: 1.538 MB / 3.26 GB, free: 74.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/5.703, allocations: 8.031 kB / 3.26 GB, free: 74.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/5.705, allocations: 338.2 kB / 3.26 GB, free: 73.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/5.706, allocations: 0.8433 MB / 3.261 GB, free: 72.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/5.706, allocations: 78 kB / 3.261 GB, free: 72.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/5.707, allocations: 96 kB / 3.261 GB, free: 72.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/5.708, allocations: 1.097 MB / 3.263 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/5.708, allocations: 3.953 kB / 3.263 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/5.708, allocations: 47.98 kB / 3.263 GB, free: 71.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/5.708, allocations: 58.06 kB / 3.263 GB, free: 71.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/5.71, allocations: 1.141 MB / 3.264 GB, free: 70.38 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004594/5.714, allocations: 5.038 MB / 3.269 GB, free: 64.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/5.715, allocations: 0.9624 MB / 3.27 GB, free: 63.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/5.716, allocations: 0.5022 MB / 3.27 GB, free: 63.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.499e-05/5.716, allocations: 12.78 kB / 3.27 GB, free: 63.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/5.717, allocations: 486 kB / 3.271 GB, free: 62.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/5.717, allocations: 0 / 3.271 GB, free: 62.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001184/5.718, allocations: 0.8352 MB / 3.271 GB, free: 62.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/5.718, allocations: 60.19 kB / 3.271 GB, free: 61.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/5.718, allocations: 0.4995 MB / 3.272 GB, free: 61.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/5.718, allocations: 41.7 kB / 3.272 GB, free: 61.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/5.719, allocations: 459.7 kB / 3.272 GB, free: 60.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/5.719, allocations: 264.1 kB / 3.273 GB, free: 60.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/5.719, allocations: 16 kB / 3.273 GB, free: 60.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/5.719, allocations: 390.7 kB / 3.273 GB, free: 60.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/5.719, allocations: 329.5 kB / 3.273 GB, free: 59.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/5.72, allocations: 452.4 kB / 3.274 GB, free: 59.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/5.72, allocations: 401.9 kB / 3.274 GB, free: 59.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/5.72, allocations: 0 / 3.274 GB, free: 59.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001102/5.721, allocations: 0.9286 MB / 3.275 GB, free: 58.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/5.721, allocations: 8 kB / 3.275 GB, free: 58.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/5.721, allocations: 0 / 3.275 GB, free: 58.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/5.721, allocations: 11.94 kB / 3.275 GB, free: 58.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/5.722, allocations: 155.8 kB / 3.275 GB, free: 57.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/5.722, allocations: 4 kB / 3.275 GB, free: 57.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/5.723, allocations: 135.6 kB / 3.275 GB, free: 57.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/5.723, allocations: 28 kB / 3.275 GB, free: 57.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001219/5.723, allocations: 157.8 kB / 3.276 GB, free: 57.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/5.723, allocations: 79.06 kB / 3.276 GB, free: 57.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/5.723, allocations: 107.6 kB / 3.276 GB, free: 57.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/5.723, allocations: 8 kB / 3.276 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/5.723, allocations: 0 / 3.276 GB, free: 57.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009586/5.724, allocations: 1.088 MB / 3.277 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/5.727, allocations: 2.183 MB / 3.279 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/5.727, allocations: 0 / 3.279 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/5.728, allocations: 183.7 kB / 3.279 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/5.728, allocations: 3.984 kB / 3.279 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/5.728, allocations: 20 kB / 3.279 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/5.728, allocations: 4 kB / 3.279 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/5.728, allocations: 7.984 kB / 3.279 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/5.729, allocations: 1.493 MB / 3.281 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/5.73, allocations: 256 kB / 3.281 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/5.73, allocations: 12 kB / 3.281 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/5.731, allocations: 103.7 kB / 3.281 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/5.731, allocations: 44.72 kB / 3.281 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/5.731, allocations: 31.98 kB / 3.281 GB, free: 51.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000348/5.731, allocations: 395.2 kB / 3.281 GB, free: 51.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/5.731, allocations: 0 / 3.281 GB, free: 51.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001098/5.732, allocations: 0.5146 MB / 3.282 GB, free: 50.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.001525/5.734, allocations: 1.604 MB / 3.283 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009115/5.735, allocations: 0.8007 MB / 3.284 GB, free: 48.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/5.735, allocations: 0 / 3.284 GB, free: 48.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/5.735, allocations: 428.4 kB / 3.285 GB, free: 48.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/5.737, allocations: 0.5463 MB / 3.285 GB, free: 47.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/5.74, allocations: 1.792 MB / 3.287 GB, free: 45.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/5.74, allocations: 1.163 MB / 3.288 GB, free: 44.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008735/5.741, allocations: 271.1 kB / 3.288 GB, free: 44.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/5.741, allocations: 75.38 kB / 3.288 GB, free: 44.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/5.741, allocations: 0 / 3.288 GB, free: 44.14 MB / 0.698 GB Notification: Performance of Templates: time 0.04535/5.786, allocations: 41.48 MB / 3.329 GB, free: 2.824 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)