Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001327/0.001327, 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.001328/0.001328, allocations: 190.4 kB / 16.25 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64.45 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1908, allocations: 81.02 MB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5074/0.6982, allocations: 199.4 MB / 0.7792 GB, free: 5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.7115, allocations: 7.342 MB / 0.7864 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.7134, allocations: 31.81 kB / 0.7864 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.7158, allocations: 0.6182 MB / 0.787 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006915/0.7228, allocations: 2.261 MB / 0.7892 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.7264, allocations: 1.13 MB / 0.7903 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004538/0.731, allocations: 2.905 MB / 0.7931 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.7327, allocations: 0.9274 MB / 0.7941 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.7349, allocations: 1.035 MB / 0.7951 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.7376, allocations: 1.029 MB / 0.7961 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003636/0.738, allocations: 112 kB / 0.7962 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/0.7428, allocations: 2.229 MB / 0.7984 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007668/0.7436, allocations: 450.8 kB / 0.7988 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.745, allocations: 0.6689 MB / 0.7994 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.7506, allocations: 2.54 MB / 0.8019 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7507, allocations: 0 / 0.8019 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.36e-06/0.7507, allocations: 4 kB / 0.8019 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.462e-05/0.7508, allocations: 0 / 0.8019 GB, free: 13.67 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004209/0.755, allocations: 1.628 MB / 0.8035 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.755, allocations: 12.03 kB / 0.8035 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.7577, allocations: 374.2 kB / 0.8039 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.7592, allocations: 0.8122 MB / 0.8047 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.7593, allocations: 70 kB / 0.8047 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.7595, allocations: 87.89 kB / 0.8048 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.7614, allocations: 1.034 MB / 0.8058 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.7614, allocations: 4 kB / 0.8058 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.7615, allocations: 39.98 kB / 0.8059 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.186e-05/0.7616, allocations: 49.92 kB / 0.8059 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.7632, allocations: 0.8744 MB / 0.8068 GB, free: 8.566 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.005488/0.7687, allocations: 4.28 MB / 0.811 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.7699, allocations: 0.676 MB / 0.8116 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.7707, allocations: 455 kB / 0.812 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/0.7715, allocations: 0.6693 MB / 0.8127 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.7716, allocations: 54.88 kB / 0.8128 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.855e-06/0.7716, allocations: 3.938 kB / 0.8128 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002018/0.7736, allocations: 0.9783 MB / 0.8137 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7737, allocations: 59.97 kB / 0.8138 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/0.7745, allocations: 0.6372 MB / 0.8144 GB, free: 224 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.7746, allocations: 41.7 kB / 0.8144 GB, free: 176 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.7749, allocations: 436.1 kB / 0.8148 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.7752, allocations: 252.2 kB / 0.8151 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.7754, allocations: 114.3 kB / 0.8152 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.7756, allocations: 382.8 kB / 0.8156 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.7761, allocations: 277.2 kB / 0.8158 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.7767, allocations: 370.7 kB / 0.8162 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.7778, allocations: 0.6587 MB / 0.8168 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.7778, allocations: 0 / 0.8168 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001373/0.7792, allocations: 0.8007 MB / 0.8176 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7792, allocations: 4 kB / 0.8176 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7792, allocations: 0 / 0.8176 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.7792, allocations: 8 kB / 0.8176 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.7799, allocations: 144 kB / 0.8178 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.7799, allocations: 7.938 kB / 0.8178 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.7808, allocations: 99.31 kB / 0.8179 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.7809, allocations: 24 kB / 0.8179 GB, free: 12.56 MB / 0.6387 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.0004213/0.7813, allocations: 287.2 kB / 0.8182 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.7815, allocations: 87.06 kB / 0.8182 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.783, allocations: 0.7881 MB / 0.819 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.783, allocations: 11.92 kB / 0.819 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.783, allocations: 0 / 0.819 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.7842, allocations: 0.8192 MB / 0.8198 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.7871, allocations: 1.844 MB / 0.8216 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7871, allocations: 0 / 0.8216 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.788, allocations: 175.8 kB / 0.8218 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.788, allocations: 0 / 0.8218 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.7881, allocations: 19.98 kB / 0.8218 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7881, allocations: 4 kB / 0.8218 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.7881, allocations: 0.625 kB / 0.8218 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.7901, allocations: 1.275 MB / 0.8231 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.7905, allocations: 247.9 kB / 0.8233 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.7907, allocations: 16 kB / 0.8233 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.7915, allocations: 77.03 kB / 0.8234 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7916, allocations: 40.5 kB / 0.8234 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.7917, allocations: 27.98 kB / 0.8234 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006201/0.7923, allocations: 451 kB / 0.8239 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7923, allocations: 0 / 0.8239 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008767/0.7932, allocations: 335.2 kB / 0.8242 GB, free: 5.941 MB / 0.6387 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.0003963/0.7936, allocations: 209.2 kB / 0.8244 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.7954, allocations: 0.8162 MB / 0.8252 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7954, allocations: 0 / 0.8252 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.796, allocations: 367 kB / 0.8255 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.7984, allocations: 0.5585 MB / 0.8261 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.8025, allocations: 2.544 MB / 0.8286 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.8034, allocations: 1.093 MB / 0.8296 GB, free: 360 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009862/0.8044, allocations: 223.2 kB / 0.8298 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.8047, allocations: 75.42 kB / 0.8299 GB, free: 60 kB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.8047, allocations: 0 / 0.8299 GB, free: 60 kB / 0.6387 GB Notification: Performance of Templates: time 0.0341/0.8388, allocations: 18.21 MB / 0.8477 GB, free: 14.13 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)