Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001169/0.001169, allocations: 194.7 kB / 17.2 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8342/0.8342, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 60.14 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3565, allocations: 80.19 MB / 0.5807 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5265/0.883, allocations: 204.1 MB / 0.7801 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008979/0.8921, allocations: 6.36 MB / 0.7863 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.8931, allocations: 37.7 kB / 0.7863 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.8948, allocations: 0.7267 MB / 0.7871 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.9, allocations: 2.677 MB / 0.7897 GB, free: 1.367 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.9015, allocations: 0.6969 MB / 0.7903 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002801/0.9043, allocations: 3.27 MB / 0.7935 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.9055, allocations: 1.143 MB / 0.7947 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.9073, allocations: 1.247 MB / 0.7959 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.909, allocations: 1.105 MB / 0.797 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.9092, allocations: 127.9 kB / 0.7971 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.9131, allocations: 2.359 MB / 0.7994 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/0.9135, allocations: 0.5078 MB / 0.7999 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.9142, allocations: 0.7451 MB / 0.8006 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.9172, allocations: 2.774 MB / 0.8033 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9173, allocations: 0.875 kB / 0.8033 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9173, allocations: 0 / 0.8033 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.9173, allocations: 4.125 kB / 0.8033 GB, free: 0.7852 MB / 0.5762 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.00366/0.921, allocations: 1.767 MB / 0.805 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.921, allocations: 11.75 kB / 0.8051 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.9244, allocations: 346.7 kB / 0.8054 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.9261, allocations: 0.8364 MB / 0.8062 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.9262, allocations: 79.23 kB / 0.8063 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.9265, allocations: 104.8 kB / 0.8064 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.9291, allocations: 1.189 MB / 0.8075 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.9292, allocations: 0 / 0.8075 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.9293, allocations: 44.95 kB / 0.8076 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.9294, allocations: 59.16 kB / 0.8076 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.9322, allocations: 1.245 MB / 0.8089 GB, free: 15.45 MB / 0.5919 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.008447/0.9407, allocations: 5.114 MB / 0.8138 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.9427, allocations: 1.148 MB / 0.815 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.9437, allocations: 0.5081 MB / 0.8155 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-05/0.9438, allocations: 19.86 kB / 0.8155 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009426/0.9448, allocations: 486 kB / 0.8159 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/0.9448, allocations: 0 / 0.8159 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002723/0.9475, allocations: 1.153 MB / 0.8171 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.9476, allocations: 67.09 kB / 0.8171 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.9485, allocations: 0.5751 MB / 0.8177 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.9486, allocations: 41.52 kB / 0.8177 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.9491, allocations: 458.9 kB / 0.8182 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.9495, allocations: 275.4 kB / 0.8184 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.9498, allocations: 128.4 kB / 0.8186 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.95, allocations: 389 kB / 0.8189 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.9507, allocations: 326.6 kB / 0.8192 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/0.9516, allocations: 464.2 kB / 0.8197 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.9532, allocations: 0.8244 MB / 0.8205 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9532, allocations: 2.125 kB / 0.8205 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002167/0.9554, allocations: 0.9229 MB / 0.8214 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9555, allocations: 6.562 kB / 0.8214 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.9555, allocations: 3.219 kB / 0.8214 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.9555, allocations: 6.25 kB / 0.8214 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.9566, allocations: 163.1 kB / 0.8216 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.9566, allocations: 12.45 kB / 0.8216 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.9577, allocations: 63 kB / 0.8216 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.9578, allocations: 25.42 kB / 0.8217 GB, free: 10.8 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006206/0.9585, allocations: 328 kB / 0.822 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.9587, allocations: 86.81 kB / 0.8221 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.959, allocations: 112.9 kB / 0.8222 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.959, allocations: 11.81 kB / 0.8222 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.959, allocations: 0 / 0.8222 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/0.9609, allocations: 1.079 MB / 0.8232 GB, free: 9.746 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.004571/0.9655, allocations: 2.313 MB / 0.8255 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9655, allocations: 3.938 kB / 0.8255 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.9668, allocations: 183.1 kB / 0.8257 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.9668, allocations: 4.969 kB / 0.8257 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.9669, allocations: 17.19 kB / 0.8257 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.9669, allocations: 4.094 kB / 0.8257 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.967, allocations: 0 / 0.8257 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.9701, allocations: 1.484 MB / 0.8271 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.9707, allocations: 259.5 kB / 0.8274 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.9709, allocations: 11.03 kB / 0.8274 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.9719, allocations: 28.69 kB / 0.8274 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.9721, allocations: 45.5 kB / 0.8275 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.9722, allocations: 23.28 kB / 0.8275 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007195/0.9729, allocations: 416.1 kB / 0.8279 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9729, allocations: 2.906 kB / 0.8279 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001089/0.974, allocations: 369 kB / 0.8282 GB, free: 6.906 MB / 0.5919 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 (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.0002755/0.9743, allocations: 175.5 kB / 0.8284 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.9761, allocations: 1.042 MB / 0.8294 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9761, allocations: 0 / 0.8294 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.9766, allocations: 427.6 kB / 0.8298 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.9794, allocations: 0.5988 MB / 0.8304 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.9829, allocations: 2.244 MB / 0.8326 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.9837, allocations: 1.14 MB / 0.8337 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.984, allocations: 83.42 kB / 0.8338 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.984, allocations: 0 / 0.8338 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of Templates: time 0.02182/1.006, allocations: 15.95 MB / 0.8494 GB, free: 2.52 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)