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.0008369/0.0008368, 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.005478/0.005478, allocations: 169.9 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9147/0.9147, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003675, allocations: 12.69 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4811, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.2324/0.7136, allocations: 199.3 MB / 0.7783 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.7247, allocations: 6.366 MB / 0.7845 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.7266, allocations: 27.81 kB / 0.7845 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.729, allocations: 0.6415 MB / 0.7851 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.7372, allocations: 2.532 MB / 0.7876 GB, free: 14.95 MB / 0.6231 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.00244/0.7396, allocations: 0.6267 MB / 0.7882 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006892/0.7465, allocations: 4.827 MB / 0.7929 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.7487, allocations: 0.9202 MB / 0.7938 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.7517, allocations: 1.043 MB / 0.7948 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.7551, allocations: 1.1 MB / 0.7959 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004423/0.7556, allocations: 56 kB / 0.796 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006407/0.762, allocations: 2.704 MB / 0.7986 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009523/0.7629, allocations: 442.6 kB / 0.799 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.7647, allocations: 0.6744 MB / 0.7997 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.771, allocations: 2.859 MB / 0.8025 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.771, allocations: 0 / 0.8025 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7711, allocations: 0 / 0.8025 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.7711, allocations: 4 kB / 0.8025 GB, free: 15.64 MB / 0.6387 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.004734/0.7759, allocations: 1.519 MB / 0.804 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7759, allocations: 8.031 kB / 0.804 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.7785, allocations: 354.1 kB / 0.8043 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.7801, allocations: 0.8428 MB / 0.8051 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.7802, allocations: 74.02 kB / 0.8052 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.7804, allocations: 104 kB / 0.8053 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.7828, allocations: 1.191 MB / 0.8065 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.7829, allocations: 0 / 0.8065 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.783, allocations: 43.98 kB / 0.8065 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/0.7831, allocations: 66.05 kB / 0.8066 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.7853, allocations: 1.246 MB / 0.8078 GB, free: 10.06 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 preOpt removeSimpleEquations (simulation): time 0.007103/0.7924, allocations: 5.054 MB / 0.8127 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.7939, allocations: 1.148 MB / 0.8138 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.7946, allocations: 0.502 MB / 0.8143 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.864e-05/0.7947, allocations: 16.78 kB / 0.8143 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007369/0.7954, allocations: 492.1 kB / 0.8148 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.7955, allocations: 0 / 0.8148 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00196/0.7974, allocations: 1.153 MB / 0.8159 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.7975, allocations: 64 kB / 0.816 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.7982, allocations: 0.5744 MB / 0.8166 GB, free: 500 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.7983, allocations: 41.7 kB / 0.8166 GB, free: 452 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.3219/1.12, allocations: 459 kB / 0.817 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/1.121, allocations: 262.9 kB / 0.8173 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.121, allocations: 69.47 kB / 0.8174 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.121, allocations: 386.6 kB / 0.8177 GB, free: 220 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/1.122, allocations: 331.7 kB / 0.818 GB, free: 220 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/1.122, allocations: 460.2 kB / 0.8185 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.124, allocations: 0.8231 MB / 0.8193 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.124, allocations: 1.031 kB / 0.8193 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001533/1.125, allocations: 0.9322 MB / 0.8202 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.125, allocations: 6.438 kB / 0.8202 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.125, allocations: 3.094 kB / 0.8202 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/1.125, allocations: 6.312 kB / 0.8202 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/1.126, allocations: 156.2 kB / 0.8204 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.126, allocations: 10.95 kB / 0.8204 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.127, allocations: 134.9 kB / 0.8205 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/1.127, allocations: 25.3 kB / 0.8205 GB, free: 219.1 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.00056/1.128, allocations: 335.2 kB / 0.8208 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.128, allocations: 81.47 kB / 0.8209 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/1.128, allocations: 109.8 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.128, allocations: 8.25 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.128, allocations: 7.406 kB / 0.821 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/1.129, allocations: 1.082 MB / 0.8221 GB, free: 218 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.003547/1.133, allocations: 2.309 MB / 0.8244 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.133, allocations: 0.5312 kB / 0.8244 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/1.134, allocations: 180.5 kB / 0.8245 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.134, allocations: 7.375 kB / 0.8245 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/1.134, allocations: 19.98 kB / 0.8246 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.134, allocations: 3.047 kB / 0.8246 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.134, allocations: 1.281 kB / 0.8246 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.136, allocations: 1.486 MB / 0.826 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/1.136, allocations: 248.5 kB / 0.8262 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.137, allocations: 20.97 kB / 0.8263 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009207/1.138, allocations: 102.7 kB / 0.8264 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.138, allocations: 42.64 kB / 0.8264 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/1.138, allocations: 27.05 kB / 0.8264 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006269/1.138, allocations: 416.1 kB / 0.8268 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 0.8268 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001048/1.139, allocations: 367.3 kB / 0.8272 GB, free: 215.6 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.0002915/1.14, allocations: 176.6 kB / 0.8273 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001394/1.141, allocations: 0.8035 MB / 0.8281 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.141, allocations: 0 / 0.8281 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006418/1.142, allocations: 428.8 kB / 0.8285 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.145, allocations: 0.5662 MB / 0.8291 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/1.149, allocations: 2.711 MB / 0.8317 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/1.15, allocations: 1.142 MB / 0.8329 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001176/1.151, allocations: 272.1 kB / 0.8331 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/1.151, allocations: 82 kB / 0.8332 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of SimCode: time 4.4e-07/1.151, allocations: 0 / 0.8332 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.02827/1.179, allocations: 18.21 MB / 0.851 GB, free: 202.7 MB / 0.6387 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)