Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009126/0.0009126, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007434/0.007434, allocations: 170 kB / 16.26 MB, free: 6.613 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.963/0.963, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003573, allocations: 13.03 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 82.3 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5107/0.6743, allocations: 199.2 MB / 0.7825 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.6851, allocations: 6.383 MB / 0.7888 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.6866, allocations: 31.81 kB / 0.7888 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.6884, allocations: 0.6415 MB / 0.7894 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.6948, allocations: 2.515 MB / 0.7919 GB, free: 11.62 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.6965, allocations: 0.6402 MB / 0.7925 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005043/0.7016, allocations: 4.832 MB / 0.7972 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.7029, allocations: 0.9124 MB / 0.7981 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.705, allocations: 1.054 MB / 0.7991 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.707, allocations: 1.101 MB / 0.8002 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.7071, allocations: 56 kB / 0.8003 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.7118, allocations: 2.704 MB / 0.8029 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.7123, allocations: 446.6 kB / 0.8033 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000788/0.7131, allocations: 0.6667 MB / 0.804 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.717, allocations: 2.851 MB / 0.8068 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.717, allocations: 0 / 0.8068 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.813e-06/0.717, allocations: 0 / 0.8068 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.717, allocations: 0 / 0.8068 GB, free: 12.32 MB / 0.6231 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.003518/0.7205, allocations: 1.533 MB / 0.8083 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7206, allocations: 12.03 kB / 0.8083 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.7227, allocations: 350.1 kB / 0.8086 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.724, allocations: 0.8349 MB / 0.8094 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.724, allocations: 82 kB / 0.8095 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.7242, allocations: 107.9 kB / 0.8096 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.7261, allocations: 1.195 MB / 0.8108 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.7261, allocations: 0 / 0.8108 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7262, allocations: 36 kB / 0.8108 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.526e-05/0.7263, allocations: 66.06 kB / 0.8109 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.7282, allocations: 1.246 MB / 0.8121 GB, free: 6.734 MB / 0.6231 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.005831/0.734, allocations: 5.054 MB / 0.817 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.7354, allocations: 1.149 MB / 0.8181 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007028/0.7361, allocations: 0.505 MB / 0.8186 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.7362, allocations: 8.656 kB / 0.8186 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/0.737, allocations: 488.2 kB / 0.8191 GB, free: 15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.455e-06/0.737, allocations: 4 kB / 0.8191 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001842/0.7388, allocations: 1.157 MB / 0.8202 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.7389, allocations: 60.06 kB / 0.8203 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.7395, allocations: 0.5706 MB / 0.8209 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.7396, allocations: 41.7 kB / 0.8209 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.7399, allocations: 463.8 kB / 0.8213 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.7401, allocations: 272 kB / 0.8216 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.7402, allocations: 73.67 kB / 0.8217 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7404, allocations: 382.8 kB / 0.822 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.7409, allocations: 329.8 kB / 0.8223 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.7414, allocations: 462.4 kB / 0.8228 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7425, allocations: 0.8194 MB / 0.8236 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7425, allocations: 3.938 kB / 0.8236 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001312/0.7438, allocations: 0.9298 MB / 0.8245 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7439, allocations: 4 kB / 0.8245 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7439, allocations: 7.938 kB / 0.8245 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7439, allocations: 4 kB / 0.8245 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.7445, allocations: 151.8 kB / 0.8247 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.7446, allocations: 8 kB / 0.8247 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009348/0.7455, allocations: 135.5 kB / 0.8248 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.7456, allocations: 28 kB / 0.8248 GB, free: 8.996 MB / 0.6387 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.0004249/0.746, allocations: 333.5 kB / 0.8251 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7461, allocations: 83.06 kB / 0.8252 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.7464, allocations: 107.7 kB / 0.8253 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7464, allocations: 8 kB / 0.8253 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7464, allocations: 0 / 0.8253 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/0.7476, allocations: 1.089 MB / 0.8264 GB, free: 7.281 MB / 0.6387 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.003117/0.7508, allocations: 2.308 MB / 0.8286 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.7508, allocations: 0 / 0.8286 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/0.7516, allocations: 179.7 kB / 0.8288 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.7516, allocations: 4 kB / 0.8288 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.7517, allocations: 23.98 kB / 0.8288 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.7517, allocations: 4 kB / 0.8289 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7517, allocations: 8.031 kB / 0.8289 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.7536, allocations: 1.483 MB / 0.8303 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.754, allocations: 263.9 kB / 0.8306 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.7541, allocations: 16 kB / 0.8306 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.7549, allocations: 95.84 kB / 0.8307 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.755, allocations: 40.59 kB / 0.8307 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.755, allocations: 24 kB / 0.8307 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004606/0.7555, allocations: 419 kB / 0.8311 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7555, allocations: 0 / 0.8311 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008366/0.7563, allocations: 371 kB / 0.8315 GB, free: 1.949 MB / 0.6387 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.0002663/0.7566, allocations: 170.4 kB / 0.8316 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.7577, allocations: 0.8019 MB / 0.8324 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7577, allocations: 0 / 0.8324 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.7582, allocations: 431.5 kB / 0.8328 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.7608, allocations: 0.5661 MB / 0.8334 GB, free: 0 / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.7643, allocations: 2.722 MB / 0.836 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.765, allocations: 1.136 MB / 0.8372 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009164/0.7659, allocations: 268 kB / 0.8374 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.7661, allocations: 83.36 kB / 0.8375 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.7661, allocations: 0 / 0.8375 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.02945/0.7956, allocations: 18.21 MB / 0.8553 GB, free: 9.773 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)