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.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9743/0.9743, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 60 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2025, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5758/0.7783, allocations: 204.1 MB / 0.7837 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.7909, allocations: 6.367 MB / 0.7899 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.7931, allocations: 35.81 kB / 0.79 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.7954, allocations: 0.7265 MB / 0.7907 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008106/0.8036, allocations: 2.677 MB / 0.7933 GB, free: 6.934 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.002233/0.8058, allocations: 0.7053 MB / 0.794 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004671/0.8105, allocations: 3.268 MB / 0.7972 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.8123, allocations: 1.147 MB / 0.7983 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.8151, allocations: 1.246 MB / 0.7995 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.8179, allocations: 1.092 MB / 0.8006 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.8181, allocations: 131.9 kB / 0.8007 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.8237, allocations: 2.362 MB / 0.803 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007559/0.8245, allocations: 0.5143 MB / 0.8035 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.8264, allocations: 0.7391 MB / 0.8042 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.8335, allocations: 2.77 MB / 0.8069 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8335, allocations: 4 kB / 0.8069 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.559e-06/0.8336, allocations: 0 / 0.8069 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.264e-05/0.8336, allocations: 3.938 kB / 0.8069 GB, free: 8.914 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.00615/0.8398, allocations: 1.765 MB / 0.8087 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.8399, allocations: 16.02 kB / 0.8087 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.8425, allocations: 346.1 kB / 0.809 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.8444, allocations: 0.8467 MB / 0.8098 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.8445, allocations: 78 kB / 0.8099 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.8448, allocations: 100 kB / 0.81 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.8474, allocations: 1.187 MB / 0.8112 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.8475, allocations: 3.906 kB / 0.8112 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.8476, allocations: 47.98 kB / 0.8112 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-05/0.8477, allocations: 62.06 kB / 0.8113 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.85, allocations: 1.238 MB / 0.8125 GB, free: 3.098 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.007082/0.8571, allocations: 5.116 MB / 0.8175 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.8586, allocations: 1.146 MB / 0.8186 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007878/0.8594, allocations: 0.5065 MB / 0.8191 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.8595, allocations: 16.58 kB / 0.8191 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008185/0.8603, allocations: 492.2 kB / 0.8196 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 4.399e-06/0.8604, allocations: 0 / 0.8196 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002219/0.8626, allocations: 1.157 MB / 0.8207 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.8627, allocations: 60.06 kB / 0.8208 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.8634, allocations: 0.5783 MB / 0.8213 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.8635, allocations: 37.7 kB / 0.8214 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.8639, allocations: 471.8 kB / 0.8218 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.8642, allocations: 268.1 kB / 0.8221 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.8644, allocations: 130.6 kB / 0.8222 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8645, allocations: 386.8 kB / 0.8226 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.865, allocations: 329.8 kB / 0.8229 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.8656, allocations: 462.4 kB / 0.8233 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8667, allocations: 0.8155 MB / 0.8241 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8667, allocations: 4 kB / 0.8241 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001393/0.8681, allocations: 0.9296 MB / 0.825 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.8682, allocations: 8 kB / 0.825 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.8682, allocations: 7.938 kB / 0.825 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.8682, allocations: 7.938 kB / 0.825 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.869, allocations: 151.8 kB / 0.8252 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.869, allocations: 4.344 kB / 0.8252 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008105/0.8698, allocations: 72.67 kB / 0.8253 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.8699, allocations: 24 kB / 0.8253 GB, free: 5.293 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.0005543/0.8704, allocations: 329.5 kB / 0.8256 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.8706, allocations: 79.16 kB / 0.8257 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.8708, allocations: 111.7 kB / 0.8258 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8709, allocations: 8 kB / 0.8258 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.8709, allocations: 3.312 kB / 0.8258 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.8721, allocations: 1.081 MB / 0.8269 GB, free: 3.59 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.003418/0.8756, allocations: 2.32 MB / 0.8291 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8756, allocations: 0 / 0.8291 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.8764, allocations: 175.8 kB / 0.8293 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.8765, allocations: 8.031 kB / 0.8293 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.8765, allocations: 23.98 kB / 0.8293 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.8765, allocations: 0 / 0.8293 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.8765, allocations: 4 kB / 0.8293 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.8786, allocations: 1.479 MB / 0.8308 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.879, allocations: 260 kB / 0.831 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.8792, allocations: 12 kB / 0.831 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.8799, allocations: 26.06 kB / 0.831 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.88, allocations: 40.59 kB / 0.8311 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.8801, allocations: 27.98 kB / 0.8311 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005519/0.8806, allocations: 415 kB / 0.8315 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8806, allocations: 0 / 0.8315 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00106/0.8817, allocations: 371 kB / 0.8319 GB, free: 14.34 MB / 0.6544 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.0003245/0.882, allocations: 175.9 kB / 0.832 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.8839, allocations: 1.033 MB / 0.833 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.8839, allocations: 8.125 kB / 0.833 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.8845, allocations: 423.6 kB / 0.8335 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.8872, allocations: 0.591 MB / 0.834 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.8909, allocations: 2.19 MB / 0.8362 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.8917, allocations: 1.14 MB / 0.8373 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001086/0.8928, allocations: 275.1 kB / 0.8375 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.8931, allocations: 71.44 kB / 0.8376 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.8931, allocations: 3.938 kB / 0.8376 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of Templates: time 0.03432/0.9274, allocations: 19.16 MB / 0.8563 GB, free: 5.504 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)