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.0009874/0.0009875, allocations: 108 kB / 15.61 MB, free: 152 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.0009347/0.0009347, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.188/1.188, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6898/0.6898, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.16 kB / 0.5018 GB, free: 8.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1332, allocations: 80.2 MB / 0.5801 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4005/0.5337, allocations: 204.2 MB / 0.7794 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00951/0.5433, allocations: 6.362 MB / 0.7857 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.5447, allocations: 35.81 kB / 0.7857 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.5465, allocations: 0.7382 MB / 0.7864 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.5524, allocations: 2.67 MB / 0.789 GB, free: 12.7 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.001627/0.5541, allocations: 0.6891 MB / 0.7897 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003606/0.5577, allocations: 3.275 MB / 0.7929 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.5592, allocations: 1.149 MB / 0.794 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.5614, allocations: 1.249 MB / 0.7952 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.5636, allocations: 1.095 MB / 0.7963 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.5639, allocations: 128 kB / 0.7964 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.5691, allocations: 2.362 MB / 0.7987 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000693/0.5698, allocations: 0.5143 MB / 0.7992 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.571, allocations: 0.7391 MB / 0.8 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.5746, allocations: 2.774 MB / 0.8027 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5747, allocations: 0 / 0.8027 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5747, allocations: 0 / 0.8027 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.5747, allocations: 3.984 kB / 0.8027 GB, free: 14.69 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.0034/0.5781, allocations: 1.769 MB / 0.8044 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5781, allocations: 16.03 kB / 0.8044 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.5802, allocations: 346.1 kB / 0.8047 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.5813, allocations: 0.8389 MB / 0.8056 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.5814, allocations: 74.02 kB / 0.8056 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.5815, allocations: 107.9 kB / 0.8057 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.5832, allocations: 1.187 MB / 0.8069 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.5832, allocations: 4 kB / 0.8069 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.5833, allocations: 51.92 kB / 0.807 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.5834, allocations: 58.02 kB / 0.807 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5851, allocations: 1.249 MB / 0.8082 GB, free: 8.859 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.00548/0.5906, allocations: 5.116 MB / 0.8132 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.5918, allocations: 1.144 MB / 0.8143 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.5925, allocations: 0.5012 MB / 0.8148 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/0.5926, allocations: 16.8 kB / 0.8148 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006582/0.5932, allocations: 488.2 kB / 0.8153 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.5932, allocations: 0 / 0.8153 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001809/0.5951, allocations: 1.157 MB / 0.8164 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5951, allocations: 64.06 kB / 0.8165 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.5957, allocations: 0.5706 MB / 0.8171 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.5958, allocations: 41.7 kB / 0.8171 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.596, allocations: 459.7 kB / 0.8175 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.5962, allocations: 276 kB / 0.8178 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.5964, allocations: 130.6 kB / 0.8179 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5966, allocations: 390.7 kB / 0.8183 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.597, allocations: 329.8 kB / 0.8186 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.5975, allocations: 455 kB / 0.819 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5986, allocations: 0.8272 MB / 0.8199 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5986, allocations: 4 kB / 0.8199 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001198/0.5998, allocations: 0.9218 MB / 0.8208 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5998, allocations: 13.91 kB / 0.8208 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5998, allocations: 8.812 kB / 0.8208 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5999, allocations: 4 kB / 0.8208 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.6005, allocations: 155.8 kB / 0.8209 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.6005, allocations: 7.938 kB / 0.8209 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.6012, allocations: 63.28 kB / 0.821 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6012, allocations: 31.98 kB / 0.821 GB, free: 11.05 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.0003662/0.6016, allocations: 326.5 kB / 0.8213 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.6017, allocations: 87.06 kB / 0.8214 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.6019, allocations: 107.7 kB / 0.8215 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6019, allocations: 8 kB / 0.8215 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6019, allocations: 3.875 kB / 0.8215 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.6031, allocations: 1.089 MB / 0.8226 GB, free: 9.344 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.002682/0.6057, allocations: 2.312 MB / 0.8249 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6058, allocations: 0 / 0.8249 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.6065, allocations: 175.8 kB / 0.825 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6066, allocations: 4 kB / 0.825 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.6066, allocations: 16 kB / 0.825 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6066, allocations: 4 kB / 0.8251 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6066, allocations: 3.938 kB / 0.8251 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.6084, allocations: 1.487 MB / 0.8265 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.6087, allocations: 260 kB / 0.8268 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.6088, allocations: 12 kB / 0.8268 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.6093, allocations: 27.97 kB / 0.8268 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6094, allocations: 40.59 kB / 0.8268 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-05/0.6095, allocations: 27.98 kB / 0.8269 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004056/0.6099, allocations: 411.1 kB / 0.8272 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6099, allocations: 4 kB / 0.8273 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000744/0.6106, allocations: 374.9 kB / 0.8276 GB, free: 4.09 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.0002371/0.6109, allocations: 167.1 kB / 0.8278 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.6124, allocations: 1.04 MB / 0.8288 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6124, allocations: 0 / 0.8288 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.6129, allocations: 427.5 kB / 0.8292 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6153, allocations: 0.5996 MB / 0.8298 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.6181, allocations: 2.169 MB / 0.8319 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.6187, allocations: 1.14 MB / 0.833 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008205/0.6195, allocations: 271.2 kB / 0.8333 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.6197, allocations: 75.42 kB / 0.8333 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6197, allocations: 0 / 0.8333 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.02739/0.6471, allocations: 19.15 MB / 0.852 GB, free: 11.32 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)