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.8465/0.8465, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 182 kB / 191.5 MB, free: 5.77 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.689/1.689, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.001242/0.001242, allocations: 100.2 kB / 0.5188 GB, free: 1.098 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 271.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005593, allocations: 17.03 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.247, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.802, allocations: 1.882 GB / 2.656 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/5.802, allocations: 95.39 kB / 2.656 GB, free: 146.5 MB / 0.7136 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 2.163/7.965, allocations: 0.6125 GB / 3.269 GB, free: 102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/7.965, allocations: 0 / 3.269 GB, free: 102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.501e-05/7.965, allocations: 20 kB / 3.269 GB, free: 101.9 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004498/7.97, allocations: 1.662 MB / 3.27 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/7.97, allocations: 16.02 kB / 3.27 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/7.972, allocations: 334.2 kB / 3.271 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/7.974, allocations: 0.8433 MB / 3.271 GB, free: 99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/7.974, allocations: 78.02 kB / 3.272 GB, free: 98.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/7.974, allocations: 103.9 kB / 3.272 GB, free: 98.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/7.975, allocations: 1.113 MB / 3.273 GB, free: 97.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/7.975, allocations: 0 / 3.273 GB, free: 97.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/7.976, allocations: 47.94 kB / 3.273 GB, free: 97.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.606e-05/7.976, allocations: 62.06 kB / 3.273 GB, free: 97.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/7.977, allocations: 1.16 MB / 3.274 GB, free: 96.4 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.005886/7.983, allocations: 5.042 MB / 3.279 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/7.984, allocations: 0.9732 MB / 3.28 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/7.984, allocations: 20.78 kB / 3.28 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/7.985, allocations: 492.2 kB / 3.28 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 5.68e-06/7.985, allocations: 0 / 3.28 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.001734/7.987, allocations: 1.176 MB / 3.281 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/7.987, allocations: 60.06 kB / 3.281 GB, free: 88.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/7.987, allocations: 0.4955 MB / 3.282 GB, free: 87.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/7.987, allocations: 45.64 kB / 3.282 GB, free: 87.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/7.988, allocations: 463.6 kB / 3.282 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/7.988, allocations: 272.1 kB / 3.283 GB, free: 86.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/7.988, allocations: 8 kB / 3.283 GB, free: 86.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001216/7.988, allocations: 390.7 kB / 3.283 GB, free: 86.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/7.988, allocations: 333.8 kB / 3.283 GB, free: 86.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/7.989, allocations: 466.4 kB / 3.284 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/7.989, allocations: 407.1 kB / 3.284 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/7.989, allocations: 0 / 3.284 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001115/7.99, allocations: 0.9335 MB / 3.285 GB, free: 84.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/7.99, allocations: 11.92 kB / 3.285 GB, free: 84.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/7.99, allocations: 8.281 kB / 3.285 GB, free: 84.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/7.99, allocations: 12 kB / 3.285 GB, free: 84.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/7.991, allocations: 151.8 kB / 3.285 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/7.991, allocations: 8 kB / 3.285 GB, free: 84.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/7.992, allocations: 131.3 kB / 3.285 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/7.992, allocations: 24 kB / 3.285 GB, free: 83.93 MB / 0.7136 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 () * Number of clocked 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.0006003/7.993, allocations: 338 kB / 3.286 GB, free: 83.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/7.993, allocations: 79.06 kB / 3.286 GB, free: 83.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/7.993, allocations: 111.6 kB / 3.286 GB, free: 83.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/7.993, allocations: 12 kB / 3.286 GB, free: 83.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/7.993, allocations: 0 / 3.286 GB, free: 83.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009978/7.994, allocations: 1.093 MB / 3.287 GB, free: 82.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/7.997, allocations: 2.156 MB / 3.289 GB, free: 80 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/7.997, allocations: 0 / 3.289 GB, free: 80 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008095/7.998, allocations: 179.9 kB / 3.289 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/7.998, allocations: 7.938 kB / 3.289 GB, free: 79.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/7.998, allocations: 20 kB / 3.289 GB, free: 79.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/7.998, allocations: 0 / 3.289 GB, free: 79.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/7.998, allocations: 11.92 kB / 3.289 GB, free: 79.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/8, allocations: 1.512 MB / 3.291 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/8, allocations: 264 kB / 3.291 GB, free: 77.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/8, allocations: 16 kB / 3.291 GB, free: 77.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/8.001, allocations: 95.84 kB / 3.291 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/8.001, allocations: 44.55 kB / 3.291 GB, free: 77.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/8.001, allocations: 31.92 kB / 3.291 GB, free: 77.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004517/8.002, allocations: 403.1 kB / 3.292 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/8.002, allocations: 0 / 3.292 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001525/8.003, allocations: 0.5146 MB / 3.292 GB, free: 76.88 MB / 0.7136 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 () * Number of clocked 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.002031/8.005, allocations: 1.6 MB / 3.294 GB, free: 75.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001155/8.007, allocations: 0.8143 MB / 3.295 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/8.007, allocations: 0 / 3.295 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/8.007, allocations: 439.6 kB / 3.295 GB, free: 73.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/8.009, allocations: 0.544 MB / 3.295 GB, free: 73.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/8.013, allocations: 2.684 MB / 3.298 GB, free: 70.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/8.014, allocations: 1.155 MB / 3.299 GB, free: 69.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001149/8.015, allocations: 271.1 kB / 3.3 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/8.015, allocations: 75.42 kB / 3.3 GB, free: 69.18 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/8.015, allocations: 4 kB / 3.3 GB, free: 69.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.04834/8.064, allocations: 37.12 MB / 3.336 GB, free: 32.27 MB / 0.7136 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)