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.001106/0.001106, allocations: 112.6 kB / 16.37 MB, free: 6 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.001028/0.001028, allocations: 196 kB / 17.31 MB, free: 5.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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7707/0.7707, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 55.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 80.19 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.468/0.7659, allocations: 204.2 MB / 0.7809 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008859/0.7748, allocations: 6.349 MB / 0.7871 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7759, allocations: 40.44 kB / 0.7871 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.7774, allocations: 0.7311 MB / 0.7878 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.7823, allocations: 2.673 MB / 0.7904 GB, free: 1.371 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.001292/0.7836, allocations: 0.7035 MB / 0.7911 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.7861, allocations: 3.284 MB / 0.7943 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.7872, allocations: 1.137 MB / 0.7954 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7888, allocations: 1.252 MB / 0.7967 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.7903, allocations: 1.096 MB / 0.7977 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.7905, allocations: 127.1 kB / 0.7978 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.7941, allocations: 2.361 MB / 0.8002 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.7945, allocations: 0.5104 MB / 0.8007 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.7952, allocations: 0.744 MB / 0.8014 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.7982, allocations: 2.796 MB / 0.8041 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7982, allocations: 0 / 0.8041 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7982, allocations: 0 / 0.8041 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.7982, allocations: 2.969 kB / 0.8041 GB, free: 0.7812 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.003319/0.8016, allocations: 1.765 MB / 0.8058 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.8016, allocations: 10.19 kB / 0.8058 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.8037, allocations: 349.9 kB / 0.8062 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.8051, allocations: 0.8766 MB / 0.807 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.8051, allocations: 77.67 kB / 0.8071 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8053, allocations: 103.9 kB / 0.8072 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.8069, allocations: 1.191 MB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.807, allocations: 3.375 kB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.8071, allocations: 35.84 kB / 0.8084 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.8071, allocations: 64.19 kB / 0.8085 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.8088, allocations: 1.242 MB / 0.8097 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.005612/0.8144, allocations: 5.085 MB / 0.8146 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.8159, allocations: 1.148 MB / 0.8158 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.8166, allocations: 0.504 MB / 0.8163 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.8167, allocations: 20.02 kB / 0.8163 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006797/0.8174, allocations: 489.9 kB / 0.8167 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.8174, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001698/0.8191, allocations: 1.148 MB / 0.8179 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.8192, allocations: 68.39 kB / 0.8179 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.8197, allocations: 0.575 MB / 0.8185 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.8198, allocations: 40.42 kB / 0.8185 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.82, allocations: 457.5 kB / 0.819 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.8202, allocations: 273.7 kB / 0.8192 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.8204, allocations: 132 kB / 0.8194 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8206, allocations: 388 kB / 0.8197 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.821, allocations: 329.8 kB / 0.82 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.8214, allocations: 457.5 kB / 0.8205 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.8224, allocations: 0.8272 MB / 0.8213 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8224, allocations: 0 / 0.8213 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001329/0.8238, allocations: 0.9278 MB / 0.8222 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8238, allocations: 8.156 kB / 0.8222 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8238, allocations: 2.375 kB / 0.8222 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.8238, allocations: 7 kB / 0.8222 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.8245, allocations: 161.5 kB / 0.8224 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.8245, allocations: 9.406 kB / 0.8224 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.8252, allocations: 67.12 kB / 0.8224 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.8252, allocations: 24.12 kB / 0.8225 GB, free: 10.72 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.0003716/0.8256, allocations: 329.5 kB / 0.8228 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8257, allocations: 82.41 kB / 0.8229 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.8259, allocations: 110.8 kB / 0.823 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.8259, allocations: 12.12 kB / 0.823 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.826, allocations: 0.9688 kB / 0.823 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.8272, allocations: 1.084 MB / 0.824 GB, free: 9.672 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.002939/0.8301, allocations: 2.306 MB / 0.8263 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8301, allocations: 0 / 0.8263 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.831, allocations: 182.2 kB / 0.8265 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.831, allocations: 5.203 kB / 0.8265 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.8311, allocations: 14.47 kB / 0.8265 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8311, allocations: 3.938 kB / 0.8265 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8311, allocations: 4 kB / 0.8265 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.8329, allocations: 1.487 MB / 0.8279 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.8334, allocations: 251.7 kB / 0.8282 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8335, allocations: 18.84 kB / 0.8282 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.834, allocations: 23.77 kB / 0.8282 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.8341, allocations: 51.22 kB / 0.8283 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.8342, allocations: 24.25 kB / 0.8283 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004225/0.8346, allocations: 415.7 kB / 0.8287 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8346, allocations: 0 / 0.8287 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007928/0.8354, allocations: 369.7 kB / 0.829 GB, free: 6.77 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.0002444/0.8357, allocations: 184.8 kB / 0.8292 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.8367, allocations: 0.8069 MB / 0.83 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8367, allocations: 0 / 0.83 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.8372, allocations: 431 kB / 0.8304 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.8395, allocations: 0.5871 MB / 0.831 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.8423, allocations: 2.153 MB / 0.8331 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.843, allocations: 1.14 MB / 0.8342 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.8437, allocations: 267.1 kB / 0.8345 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.8439, allocations: 75.42 kB / 0.8345 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8439, allocations: 3.938 kB / 0.8345 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.03013/0.8741, allocations: 19.14 MB / 0.8532 GB, free: 15.45 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)