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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8759/0.8759, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002166/0.002166, allocations: 186.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.0009215, allocations: 90.34 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00179/0.00179, allocations: 260.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004691, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4786, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.737/6.216, allocations: 2.046 GB / 2.785 GB, free: 163.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/6.216, allocations: 87.95 kB / 2.785 GB, free: 163.3 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: 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.162/8.378, allocations: 0.6032 GB / 3.389 GB, free: 50.62 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.345e-06/8.378, allocations: 0 / 3.389 GB, free: 50.62 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000109/8.378, allocations: 31.92 kB / 3.389 GB, free: 50.59 MB / 0.6667 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.005449/8.383, allocations: 1.656 MB / 3.39 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/8.383, allocations: 11.97 kB / 3.39 GB, free: 48.87 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/8.386, allocations: 339.2 kB / 3.391 GB, free: 48.54 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/8.388, allocations: 0.8715 MB / 3.391 GB, free: 47.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/8.388, allocations: 74.39 kB / 3.392 GB, free: 47.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/8.388, allocations: 108.4 kB / 3.392 GB, free: 47.45 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/8.391, allocations: 1.125 MB / 3.393 GB, free: 46.29 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/8.391, allocations: 7.922 kB / 3.393 GB, free: 46.29 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/8.391, allocations: 43.98 kB / 3.393 GB, free: 46.24 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/8.391, allocations: 58.08 kB / 3.393 GB, free: 46.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/8.393, allocations: 1.168 MB / 3.394 GB, free: 45.01 MB / 0.6667 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.006108/8.399, allocations: 5.046 MB / 3.399 GB, free: 39.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/8.4, allocations: 0.9647 MB / 3.4 GB, free: 38.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/8.4, allocations: 0.505 MB / 3.4 GB, free: 37.99 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/8.401, allocations: 12.8 kB / 3.4 GB, free: 37.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006158/8.401, allocations: 496.2 kB / 3.401 GB, free: 37.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 3.406e-06/8.401, allocations: 0 / 3.401 GB, free: 37.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.001756/8.403, allocations: 1.169 MB / 3.402 GB, free: 36.31 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/8.403, allocations: 64.05 kB / 3.402 GB, free: 36.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/8.404, allocations: 0.5627 MB / 3.403 GB, free: 35.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/8.404, allocations: 41.69 kB / 3.403 GB, free: 35.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/8.404, allocations: 459.7 kB / 3.403 GB, free: 35.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/8.404, allocations: 276 kB / 3.403 GB, free: 34.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/8.404, allocations: 16 kB / 3.403 GB, free: 34.87 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001036/8.404, allocations: 378.8 kB / 3.404 GB, free: 34.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/8.405, allocations: 333.8 kB / 3.404 GB, free: 34.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/8.405, allocations: 466.5 kB / 3.404 GB, free: 33.67 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/8.406, allocations: 0.8349 MB / 3.405 GB, free: 32.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/8.406, allocations: 4 kB / 3.405 GB, free: 32.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001228/8.407, allocations: 0.9297 MB / 3.406 GB, free: 31.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/8.408, allocations: 11.98 kB / 3.406 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/8.408, allocations: 0 / 3.406 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/8.408, allocations: 8 kB / 3.406 GB, free: 31.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/8.408, allocations: 155.8 kB / 3.406 GB, free: 31.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/8.408, allocations: 8.344 kB / 3.406 GB, free: 31.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/8.409, allocations: 135.2 kB / 3.407 GB, free: 31.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/8.409, allocations: 28 kB / 3.407 GB, free: 31.52 MB / 0.6667 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.0005193/8.41, allocations: 337.5 kB / 3.407 GB, free: 31.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/8.41, allocations: 79.06 kB / 3.407 GB, free: 31.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/8.41, allocations: 107.6 kB / 3.407 GB, free: 30.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/8.41, allocations: 11.94 kB / 3.407 GB, free: 30.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/8.41, allocations: 11.92 kB / 3.407 GB, free: 30.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/8.411, allocations: 1.093 MB / 3.408 GB, free: 29.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/8.414, allocations: 2.188 MB / 3.41 GB, free: 27.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/8.414, allocations: 3.984 kB / 3.41 GB, free: 27.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/8.415, allocations: 175.8 kB / 3.41 GB, free: 27.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/8.415, allocations: 4 kB / 3.41 GB, free: 27.35 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/8.415, allocations: 20 kB / 3.41 GB, free: 27.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/8.415, allocations: 4.031 kB / 3.41 GB, free: 27.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/8.415, allocations: 7.938 kB / 3.41 GB, free: 27.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/8.417, allocations: 1.506 MB / 3.412 GB, free: 25.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/8.418, allocations: 252 kB / 3.412 GB, free: 25.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/8.418, allocations: 16 kB / 3.412 GB, free: 25.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/8.419, allocations: 99.75 kB / 3.412 GB, free: 25.41 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/8.419, allocations: 52.53 kB / 3.412 GB, free: 25.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/8.419, allocations: 27.98 kB / 3.412 GB, free: 25.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000471/8.419, allocations: 403.1 kB / 3.413 GB, free: 24.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/8.419, allocations: 0 / 3.413 GB, free: 24.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001493/8.421, allocations: 0.5185 MB / 3.413 GB, free: 24.43 MB / 0.6667 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.002273/8.423, allocations: 1.635 MB / 3.415 GB, free: 22.71 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001088/8.424, allocations: 0.8058 MB / 3.416 GB, free: 21.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/8.424, allocations: 4.625 kB / 3.416 GB, free: 21.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004866/8.425, allocations: 435.5 kB / 3.416 GB, free: 21.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/8.427, allocations: 0.5445 MB / 3.417 GB, free: 20.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/8.431, allocations: 2.68 MB / 3.419 GB, free: 18.21 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/8.431, allocations: 1.136 MB / 3.42 GB, free: 17.05 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001029/8.432, allocations: 283 kB / 3.421 GB, free: 16.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/8.432, allocations: 79.42 kB / 3.421 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/8.432, allocations: 0 / 3.421 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.47/8.902, allocations: 37.72 MB / 3.458 GB, free: 124.4 MB / 0.6823 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)