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.0008716/0.0008717, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000878/0.0008781, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9034/0.9034, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 9.5 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 82.32 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4328/0.5792, allocations: 168.7 MB / 0.752 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009932/0.5892, allocations: 6.515 MB / 0.7583 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.5906, allocations: 31.81 kB / 0.7584 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.5925, allocations: 0.6611 MB / 0.759 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.5983, allocations: 2.068 MB / 0.761 GB, free: 10.54 MB / 0.5762 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.002247/0.6006, allocations: 0.7825 MB / 0.7618 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.6036, allocations: 1.848 MB / 0.7636 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.6047, allocations: 0.8244 MB / 0.7644 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.6072, allocations: 1.149 MB / 0.7655 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008853/0.6081, allocations: 0.6539 MB / 0.7662 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.6082, allocations: 56 kB / 0.7662 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.6105, allocations: 0.862 MB / 0.7671 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.6109, allocations: 394.9 kB / 0.7674 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.6112, allocations: 293.1 kB / 0.7677 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.6129, allocations: 1.645 MB / 0.7693 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6129, allocations: 0 / 0.7693 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6129, allocations: 0 / 0.7693 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.6129, allocations: 0 / 0.7693 GB, free: 2.027 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.003189/0.6161, allocations: 1.488 MB / 0.7708 GB, free: 500 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6162, allocations: 8.031 kB / 0.7708 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.6181, allocations: 354.1 kB / 0.7711 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.6196, allocations: 0.816 MB / 0.7719 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.6196, allocations: 78.02 kB / 0.772 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.6198, allocations: 100 kB / 0.7721 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.6215, allocations: 1.171 MB / 0.7732 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.6216, allocations: 3.984 kB / 0.7732 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.6216, allocations: 43.95 kB / 0.7733 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.6217, allocations: 62.06 kB / 0.7733 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.6235, allocations: 1.238 MB / 0.7746 GB, free: 12.54 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.00547/0.629, allocations: 5.054 MB / 0.7795 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6302, allocations: 1.145 MB / 0.7806 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.6303, allocations: 8.656 kB / 0.7806 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.631, allocations: 488.3 kB / 0.7811 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.435e-06/0.631, allocations: 4 kB / 0.7811 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001724/0.6327, allocations: 1.149 MB / 0.7822 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6327, allocations: 60.06 kB / 0.7823 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.6334, allocations: 0.5666 MB / 0.7828 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.6334, allocations: 45.7 kB / 0.7829 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.6337, allocations: 463.6 kB / 0.7833 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.6339, allocations: 264.1 kB / 0.7836 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.634, allocations: 23.98 kB / 0.7836 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6341, allocations: 386.7 kB / 0.7839 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.6346, allocations: 333.8 kB / 0.7843 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/0.6351, allocations: 458.3 kB / 0.7847 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.6356, allocations: 399.1 kB / 0.7851 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6356, allocations: 3.938 kB / 0.7851 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001183/0.6368, allocations: 0.9218 MB / 0.786 GB, free: 192 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6368, allocations: 4 kB / 0.786 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6368, allocations: 4 kB / 0.786 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6368, allocations: 4.344 kB / 0.786 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.6375, allocations: 159.8 kB / 0.7861 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6375, allocations: 4 kB / 0.7862 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.6384, allocations: 133.9 kB / 0.7863 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.6384, allocations: 27.98 kB / 0.7863 GB, free: 15.86 MB / 0.6075 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.0004336/0.6389, allocations: 337.4 kB / 0.7866 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.639, allocations: 87.06 kB / 0.7867 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6392, allocations: 103.8 kB / 0.7868 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6392, allocations: 8 kB / 0.7868 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6392, allocations: 2.125 kB / 0.7868 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.6403, allocations: 1.097 MB / 0.7879 GB, free: 14.14 MB / 0.6075 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.002941/0.6433, allocations: 2.265 MB / 0.7901 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6433, allocations: 0 / 0.7901 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.644, allocations: 175.8 kB / 0.7903 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.6441, allocations: 8.016 kB / 0.7903 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.6441, allocations: 20 kB / 0.7903 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6441, allocations: 4 kB / 0.7903 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6441, allocations: 3.953 kB / 0.7903 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6458, allocations: 1.492 MB / 0.7918 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.6463, allocations: 252 kB / 0.792 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.6464, allocations: 16 kB / 0.792 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.6471, allocations: 103.8 kB / 0.7921 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.6472, allocations: 40.59 kB / 0.7922 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.6472, allocations: 27.98 kB / 0.7922 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004568/0.6477, allocations: 407.1 kB / 0.7926 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6477, allocations: 3.938 kB / 0.7926 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008491/0.6486, allocations: 367 kB / 0.7929 GB, free: 8.855 MB / 0.6075 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.0002909/0.6489, allocations: 179 kB / 0.7931 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.65, allocations: 0.8025 MB / 0.7939 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.65, allocations: 4.062 kB / 0.7939 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.6505, allocations: 427.5 kB / 0.7943 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.6527, allocations: 0.5526 MB / 0.7948 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.6558, allocations: 2.666 MB / 0.7974 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.6565, allocations: 1.159 MB / 0.7986 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008429/0.6574, allocations: 279.1 kB / 0.7988 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.6576, allocations: 75.42 kB / 0.7989 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.6576, allocations: 0 / 0.7989 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.0243/0.6819, allocations: 17.61 MB / 0.8161 GB, free: 1.305 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: