Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108.1 kB / 16.37 MB, free: 6.48 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.001128/0.001128, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.318/1.318, 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.7712/0.7712, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3811, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5307/0.9119, allocations: 201.9 MB / 0.7787 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.9228, allocations: 7.381 MB / 0.7859 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.9242, allocations: 38.75 kB / 0.7859 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9258, allocations: 0.6935 MB / 0.7866 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.9312, allocations: 2.404 MB / 0.789 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.9339, allocations: 1.238 MB / 0.7902 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.9373, allocations: 2.908 MB / 0.793 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.9384, allocations: 0.9468 MB / 0.7939 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.9401, allocations: 1.022 MB / 0.7949 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.9419, allocations: 0.9663 MB / 0.7959 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.9421, allocations: 110.5 kB / 0.796 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.9461, allocations: 2.128 MB / 0.7981 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.9466, allocations: 447.8 kB / 0.7985 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.9474, allocations: 0.6688 MB / 0.7992 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.9511, allocations: 2.405 MB / 0.8015 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9512, allocations: 0 / 0.8015 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9512, allocations: 3.594 kB / 0.8015 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.9512, allocations: 0.875 kB / 0.8015 GB, free: 0.8672 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003052/0.9543, allocations: 1.628 MB / 0.8031 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9543, allocations: 7.938 kB / 0.8031 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.9568, allocations: 368.7 kB / 0.8035 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.9583, allocations: 0.8554 MB / 0.8043 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.9584, allocations: 72.19 kB / 0.8044 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.9585, allocations: 87.53 kB / 0.8044 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.9602, allocations: 1.034 MB / 0.8055 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.9603, allocations: 4.859 kB / 0.8055 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.9604, allocations: 38.56 kB / 0.8055 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.9604, allocations: 47.38 kB / 0.8055 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.9619, allocations: 0.8745 MB / 0.8064 GB, free: 15.49 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.005463/0.9674, allocations: 4.284 MB / 0.8106 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.9685, allocations: 0.6788 MB / 0.8112 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007331/0.9693, allocations: 456.5 kB / 0.8117 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.9699, allocations: 0.6764 MB / 0.8123 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.97, allocations: 45.47 kB / 0.8124 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.866e-06/0.97, allocations: 0 / 0.8124 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001747/0.9717, allocations: 0.9885 MB / 0.8133 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.9718, allocations: 64.62 kB / 0.8134 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.9724, allocations: 0.6358 MB / 0.814 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.9725, allocations: 43.89 kB / 0.8141 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.9728, allocations: 434.7 kB / 0.8145 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.973, allocations: 247.2 kB / 0.8147 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.9731, allocations: 118 kB / 0.8148 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.9733, allocations: 388.5 kB / 0.8152 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.9737, allocations: 274.3 kB / 0.8155 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.9742, allocations: 374 kB / 0.8158 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.9751, allocations: 0.6596 MB / 0.8165 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.9751, allocations: 1.094 kB / 0.8165 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001138/0.9763, allocations: 0.7881 MB / 0.8172 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.9763, allocations: 7.062 kB / 0.8172 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9763, allocations: 2.469 kB / 0.8172 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.9763, allocations: 5.219 kB / 0.8172 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.977, allocations: 144.7 kB / 0.8174 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.977, allocations: 4.812 kB / 0.8174 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.9777, allocations: 57.02 kB / 0.8174 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.9778, allocations: 25.09 kB / 0.8175 GB, free: 10.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003718/0.9781, allocations: 294.6 kB / 0.8178 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.9783, allocations: 85.84 kB / 0.8178 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.9795, allocations: 0.7866 MB / 0.8186 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.9795, allocations: 6.188 kB / 0.8186 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9795, allocations: 0.9688 kB / 0.8186 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009537/0.9805, allocations: 0.8217 MB / 0.8194 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.9829, allocations: 1.848 MB / 0.8212 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9829, allocations: 4.969 kB / 0.8212 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.9837, allocations: 169.4 kB / 0.8214 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.9838, allocations: 3.469 kB / 0.8214 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.9838, allocations: 20.2 kB / 0.8214 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.9838, allocations: 3.406 kB / 0.8214 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9838, allocations: 0 / 0.8214 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.9857, allocations: 1.276 MB / 0.8227 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.9861, allocations: 250.1 kB / 0.8229 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.9862, allocations: 13.28 kB / 0.8229 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.9868, allocations: 18.25 kB / 0.8229 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.987, allocations: 51 kB / 0.823 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.987, allocations: 23.67 kB / 0.823 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005341/0.9875, allocations: 456 kB / 0.8234 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9876, allocations: 0.7188 kB / 0.8234 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008163/0.9884, allocations: 333.8 kB / 0.8237 GB, free: 8.969 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.0003201/0.9887, allocations: 196.9 kB / 0.8239 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.9898, allocations: 0.6785 MB / 0.8246 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9898, allocations: 6.719 kB / 0.8246 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.9903, allocations: 373.6 kB / 0.825 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.9923, allocations: 0.5489 MB / 0.8255 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.9956, allocations: 2.131 MB / 0.8276 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.9962, allocations: 1.085 MB / 0.8286 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008291/0.997, allocations: 226.3 kB / 0.8289 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.9973, allocations: 81.52 kB / 0.8289 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.9973, allocations: 0 / 0.8289 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of Templates: time 0.02824/1.026, allocations: 18.35 MB / 0.8468 GB, free: 5.434 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)