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.0007569/0.0007568, allocations: 98.48 kB / 16.02 MB, free: 76 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.0008161/0.0008162, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8763/0.8763, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002949, allocations: 15.98 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 82.29 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4539/0.5906, allocations: 199.2 MB / 0.7832 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009345/0.6, allocations: 6.37 MB / 0.7894 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.6014, allocations: 31.81 kB / 0.7894 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.6034, allocations: 0.6454 MB / 0.7901 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.6098, allocations: 2.518 MB / 0.7925 GB, free: 11.78 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.001685/0.6115, allocations: 0.6363 MB / 0.7931 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004776/0.6163, allocations: 4.824 MB / 0.7978 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.6177, allocations: 0.9184 MB / 0.7987 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.6199, allocations: 1.054 MB / 0.7998 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.6222, allocations: 1.099 MB / 0.8008 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.6225, allocations: 59.94 kB / 0.8009 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.6271, allocations: 2.704 MB / 0.8035 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.6277, allocations: 454.6 kB / 0.804 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.6287, allocations: 0.6667 MB / 0.8046 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.6314, allocations: 2.05 MB / 0.8066 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6315, allocations: 0 / 0.8066 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6315, allocations: 0 / 0.8066 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.841e-05/0.6315, allocations: 0 / 0.8066 GB, free: 13.28 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.003898/0.6354, allocations: 1.515 MB / 0.8081 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6355, allocations: 12.03 kB / 0.8081 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.6378, allocations: 358.1 kB / 0.8085 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.6393, allocations: 0.835 MB / 0.8093 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.6394, allocations: 78.02 kB / 0.8093 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.6396, allocations: 107.9 kB / 0.8095 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.6417, allocations: 1.183 MB / 0.8106 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.6417, allocations: 0 / 0.8106 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6419, allocations: 47.98 kB / 0.8107 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-05/0.6419, allocations: 66 kB / 0.8107 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6439, allocations: 1.242 MB / 0.8119 GB, free: 7.711 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.006235/0.6501, allocations: 5.058 MB / 0.8169 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.6515, allocations: 1.141 MB / 0.818 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.6522, allocations: 0.505 MB / 0.8185 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.6523, allocations: 16.78 kB / 0.8185 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007223/0.653, allocations: 484.3 kB / 0.819 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.006e-06/0.653, allocations: 0 / 0.819 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001872/0.6549, allocations: 1.161 MB / 0.8201 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.655, allocations: 60.06 kB / 0.8201 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/0.6557, allocations: 0.5745 MB / 0.8207 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.6557, allocations: 41.64 kB / 0.8207 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.656, allocations: 463.7 kB / 0.8212 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.6563, allocations: 275.9 kB / 0.8214 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.6564, allocations: 65.69 kB / 0.8215 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6565, allocations: 386.8 kB / 0.8219 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.657, allocations: 333.8 kB / 0.8222 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.6575, allocations: 454.5 kB / 0.8226 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6586, allocations: 0.8311 MB / 0.8234 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6586, allocations: 0 / 0.8234 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001351/0.66, allocations: 0.9222 MB / 0.8243 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.66, allocations: 10.44 kB / 0.8244 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6601, allocations: 7.938 kB / 0.8244 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.6601, allocations: 4 kB / 0.8244 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.6607, allocations: 155.8 kB / 0.8245 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.6608, allocations: 11.92 kB / 0.8245 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000963/0.6617, allocations: 138.9 kB / 0.8247 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.6618, allocations: 26.5 kB / 0.8247 GB, free: 9.969 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.0004765/0.6623, allocations: 325.6 kB / 0.825 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.6624, allocations: 87.06 kB / 0.8251 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.6627, allocations: 119.7 kB / 0.8252 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6627, allocations: 8 kB / 0.8252 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6627, allocations: 0 / 0.8252 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.6639, allocations: 1.085 MB / 0.8263 GB, free: 8.254 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.003069/0.6669, allocations: 2.301 MB / 0.8285 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.667, allocations: 0 / 0.8285 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.6678, allocations: 183.8 kB / 0.8287 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.6678, allocations: 4 kB / 0.8287 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.6678, allocations: 16 kB / 0.8287 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.6678, allocations: 4 kB / 0.8287 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6679, allocations: 0 / 0.8287 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.6697, allocations: 1.498 MB / 0.8302 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.67, allocations: 256 kB / 0.8304 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.6702, allocations: 16 kB / 0.8304 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.6709, allocations: 95.84 kB / 0.8305 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.671, allocations: 44.59 kB / 0.8306 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.6711, allocations: 23.98 kB / 0.8306 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004434/0.6715, allocations: 411.1 kB / 0.831 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6715, allocations: 4 kB / 0.831 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008139/0.6724, allocations: 371 kB / 0.8313 GB, free: 2.93 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.0002364/0.6726, allocations: 175.9 kB / 0.8315 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.6737, allocations: 0.8019 MB / 0.8323 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6737, allocations: 0 / 0.8323 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.6742, allocations: 431.5 kB / 0.8327 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/0.6767, allocations: 0.5564 MB / 0.8332 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.68, allocations: 2.794 MB / 0.836 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.6806, allocations: 1.136 MB / 0.8371 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.6809, allocations: 87.42 kB / 0.8372 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.6809, allocations: 0 / 0.8372 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.02015/0.7011, allocations: 15.79 MB / 0.8526 GB, free: 13.25 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)