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.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002216/0.002216, allocations: 194.2 kB / 16.14 MB, free: 6.695 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 64.16 kB / 0.5011 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1803, allocations: 80.2 MB / 0.5794 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5129/0.6933, allocations: 201.9 MB / 0.7766 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.7039, allocations: 6.443 MB / 0.7829 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.7062, allocations: 31.81 kB / 0.7829 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.7083, allocations: 0.6493 MB / 0.7836 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.7147, allocations: 2.52 MB / 0.786 GB, free: 15.71 MB / 0.6075 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.001619/0.7163, allocations: 0.6325 MB / 0.7867 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0048/0.7211, allocations: 4.828 MB / 0.7914 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.7224, allocations: 0.9631 MB / 0.7923 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.7247, allocations: 1.089 MB / 0.7934 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.7274, allocations: 1.148 MB / 0.7945 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.7276, allocations: 72 kB / 0.7946 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/0.7329, allocations: 2.72 MB / 0.7972 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006235/0.7335, allocations: 470.7 kB / 0.7977 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.7346, allocations: 0.6805 MB / 0.7983 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.7397, allocations: 2.894 MB / 0.8012 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7397, allocations: 0 / 0.8012 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7397, allocations: 0 / 0.8012 GB, free: 184 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.7397, allocations: 0 / 0.8012 GB, free: 184 kB / 0.6075 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.004058/0.7438, allocations: 1.774 MB / 0.8029 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7439, allocations: 8.031 kB / 0.8029 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.7461, allocations: 350.1 kB / 0.8032 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.7474, allocations: 0.8351 MB / 0.804 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.7475, allocations: 78 kB / 0.8041 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7476, allocations: 115.8 kB / 0.8042 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.7495, allocations: 1.195 MB / 0.8054 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.7496, allocations: 3.984 kB / 0.8054 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.7497, allocations: 36 kB / 0.8054 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.7497, allocations: 58.08 kB / 0.8055 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.7516, allocations: 1.246 MB / 0.8067 GB, free: 10.35 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.006172/0.7577, allocations: 5.046 MB / 0.8116 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.7591, allocations: 1.149 MB / 0.8128 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.7598, allocations: 0.5051 MB / 0.8132 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.7599, allocations: 16.66 kB / 0.8133 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007212/0.7606, allocations: 488.1 kB / 0.8137 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.796e-06/0.7607, allocations: 0 / 0.8137 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001928/0.7626, allocations: 1.157 MB / 0.8149 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7627, allocations: 56.06 kB / 0.8149 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.7633, allocations: 0.5821 MB / 0.8155 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.7634, allocations: 45.7 kB / 0.8155 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.7637, allocations: 467.8 kB / 0.816 GB, free: 276 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.7639, allocations: 264.1 kB / 0.8162 GB, free: 8 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.7642, allocations: 134.7 kB / 0.8164 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.7643, allocations: 382.8 kB / 0.8167 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.7648, allocations: 325.8 kB / 0.817 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.7654, allocations: 462.5 kB / 0.8175 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.7665, allocations: 0.8311 MB / 0.8183 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7665, allocations: 0 / 0.8183 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001302/0.7678, allocations: 0.9218 MB / 0.8192 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7678, allocations: 4 kB / 0.8192 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7678, allocations: 7.938 kB / 0.8192 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.7678, allocations: 4 kB / 0.8192 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.7685, allocations: 160.1 kB / 0.8193 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.7685, allocations: 11.98 kB / 0.8194 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.7695, allocations: 133.9 kB / 0.8195 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.7696, allocations: 28 kB / 0.8195 GB, free: 12.54 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.0004519/0.77, allocations: 330.4 kB / 0.8198 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.7702, allocations: 83.06 kB / 0.8199 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.7704, allocations: 111.7 kB / 0.82 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7704, allocations: 8 kB / 0.82 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.7704, allocations: 0 / 0.82 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.7716, allocations: 1.085 MB / 0.8211 GB, free: 10.83 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.003111/0.7747, allocations: 2.312 MB / 0.8233 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7747, allocations: 0 / 0.8233 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.7756, allocations: 187.8 kB / 0.8235 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.7756, allocations: 4 kB / 0.8235 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.7756, allocations: 15.94 kB / 0.8235 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7756, allocations: 4 kB / 0.8235 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7756, allocations: 0 / 0.8235 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.7775, allocations: 1.483 MB / 0.825 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.7779, allocations: 256 kB / 0.8252 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.778, allocations: 20 kB / 0.8253 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.7788, allocations: 99.75 kB / 0.8253 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.7789, allocations: 48.53 kB / 0.8254 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.779, allocations: 23.98 kB / 0.8254 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000462/0.7795, allocations: 411.1 kB / 0.8258 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7795, allocations: 0 / 0.8258 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008887/0.7804, allocations: 367.1 kB / 0.8262 GB, free: 5.508 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.0002875/0.7807, allocations: 182.3 kB / 0.8263 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7818, allocations: 0.7987 MB / 0.8271 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7818, allocations: 4.062 kB / 0.8271 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.7824, allocations: 427.5 kB / 0.8275 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.7847, allocations: 0.5632 MB / 0.8281 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.7881, allocations: 2.613 MB / 0.8306 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.7889, allocations: 1.144 MB / 0.8317 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009652/0.7899, allocations: 269 kB / 0.832 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.7901, allocations: 75.42 kB / 0.8321 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7901, allocations: 0 / 0.8321 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.03076/0.8209, allocations: 18.32 MB / 0.85 GB, free: 13.35 MB / 0.67 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)