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.001623/0.001623, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001715/0.001715, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9652/0.9652, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.11 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1827, allocations: 81.02 MB / 0.5845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4957/0.6785, allocations: 201.5 MB / 0.7813 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6894, allocations: 6.333 MB / 0.7875 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.6912, allocations: 31.81 kB / 0.7875 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.6932, allocations: 0.6611 MB / 0.7882 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.7003, allocations: 2.516 MB / 0.7906 GB, free: 9.305 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.001952/0.7022, allocations: 0.641 MB / 0.7913 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005103/0.7074, allocations: 3.274 MB / 0.7945 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.7092, allocations: 1.113 MB / 0.7955 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.7119, allocations: 1.257 MB / 0.7968 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.7147, allocations: 1.175 MB / 0.7979 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.715, allocations: 128 kB / 0.798 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004976/0.7199, allocations: 2.466 MB / 0.8004 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006836/0.7206, allocations: 0.5104 MB / 0.8009 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.7218, allocations: 0.743 MB / 0.8017 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.727, allocations: 2.941 MB / 0.8045 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7271, allocations: 0 / 0.8045 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7271, allocations: 0 / 0.8045 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.7271, allocations: 4 kB / 0.8045 GB, free: 11 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.004188/0.7313, allocations: 1.773 MB / 0.8063 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7314, allocations: 8.031 kB / 0.8063 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.7336, allocations: 350.1 kB / 0.8066 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.735, allocations: 0.8427 MB / 0.8074 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/0.7351, allocations: 78.02 kB / 0.8075 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7353, allocations: 107.9 kB / 0.8076 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.7373, allocations: 1.189 MB / 0.8088 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.7374, allocations: 0 / 0.8088 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.7375, allocations: 39.98 kB / 0.8088 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/0.7376, allocations: 62.06 kB / 0.8089 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.7395, allocations: 1.246 MB / 0.8101 GB, free: 5.18 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.006821/0.7464, allocations: 5.046 MB / 0.815 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.7479, allocations: 1.15 MB / 0.8161 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/0.7487, allocations: 0.5057 MB / 0.8166 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.85e-05/0.7488, allocations: 24.64 kB / 0.8167 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007928/0.7496, allocations: 484.2 kB / 0.8171 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.7496, allocations: 0 / 0.8171 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.0021/0.7517, allocations: 1.157 MB / 0.8183 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.7518, allocations: 60.06 kB / 0.8183 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.7525, allocations: 0.5744 MB / 0.8189 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.7526, allocations: 41.7 kB / 0.8189 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.753, allocations: 463.7 kB / 0.8194 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.7533, allocations: 276.1 kB / 0.8196 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.7535, allocations: 134.6 kB / 0.8197 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.7537, allocations: 382.8 kB / 0.8201 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/0.7543, allocations: 329.8 kB / 0.8204 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.7549, allocations: 458.4 kB / 0.8209 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.7561, allocations: 0.8233 MB / 0.8217 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7561, allocations: 0 / 0.8217 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001506/0.7576, allocations: 0.9257 MB / 0.8226 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.7576, allocations: 7.984 kB / 0.8226 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7576, allocations: 7.938 kB / 0.8226 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.7577, allocations: 4 kB / 0.8226 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.7584, allocations: 155.8 kB / 0.8227 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.7584, allocations: 8.547 kB / 0.8227 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7594, allocations: 138.7 kB / 0.8229 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.7595, allocations: 32 kB / 0.8229 GB, free: 7.371 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.0005752/0.7601, allocations: 329.5 kB / 0.8232 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.7602, allocations: 83.06 kB / 0.8233 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.7605, allocations: 107.7 kB / 0.8234 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.7605, allocations: 8 kB / 0.8234 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7605, allocations: 0 / 0.8234 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/0.7618, allocations: 1.085 MB / 0.8245 GB, free: 5.664 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.003598/0.7654, allocations: 2.312 MB / 0.8267 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7655, allocations: 0 / 0.8267 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/0.7663, allocations: 179.8 kB / 0.8269 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.7663, allocations: 4 kB / 0.8269 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.7664, allocations: 15.98 kB / 0.8269 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.7664, allocations: 8.031 kB / 0.8269 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7664, allocations: 0 / 0.8269 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.7685, allocations: 1.483 MB / 0.8284 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.769, allocations: 252 kB / 0.8286 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7691, allocations: 19.98 kB / 0.8286 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/0.7699, allocations: 101.8 kB / 0.8287 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.77, allocations: 48.59 kB / 0.8288 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.7701, allocations: 31.92 kB / 0.8288 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005194/0.7706, allocations: 415 kB / 0.8292 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7706, allocations: 0 / 0.8292 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009983/0.7716, allocations: 367.1 kB / 0.8296 GB, free: 344 kB / 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.0003236/0.7719, allocations: 182.8 kB / 0.8297 GB, free: 152 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.7738, allocations: 1.032 MB / 0.8307 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7738, allocations: 0 / 0.8307 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005715/0.7744, allocations: 428.2 kB / 0.8311 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.7769, allocations: 0.5943 MB / 0.8317 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.7807, allocations: 2.609 MB / 0.8343 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.7815, allocations: 1.147 MB / 0.8354 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009791/0.7825, allocations: 275.2 kB / 0.8357 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.7827, allocations: 75.44 kB / 0.8357 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7827, allocations: 0 / 0.8357 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.03354/0.8163, allocations: 19.05 MB / 0.8543 GB, free: 7.199 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)