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.005189/0.005189, allocations: 100.2 kB / 15.87 MB, free: 6.332 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.001147/0.001147, allocations: 199 kB / 16.79 MB, free: 6.258 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.1 MB / 425.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 64.23 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1854, allocations: 80.91 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.526/0.7115, allocations: 199.7 MB / 0.7794 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.7241, allocations: 7.481 MB / 0.7867 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.7258, allocations: 31.81 kB / 0.7867 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.7277, allocations: 0.6103 MB / 0.7873 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00649/0.7342, allocations: 2.249 MB / 0.7895 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.7376, allocations: 1.13 MB / 0.7906 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005125/0.7427, allocations: 4.155 MB / 0.7947 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.7439, allocations: 0.8091 MB / 0.7955 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.7455, allocations: 0.8869 MB / 0.7963 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.7475, allocations: 0.9973 MB / 0.7973 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.7477, allocations: 56 kB / 0.7973 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.7525, allocations: 2.494 MB / 0.7998 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.7531, allocations: 398.7 kB / 0.8002 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008174/0.7539, allocations: 0.6104 MB / 0.8008 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.7565, allocations: 1.785 MB / 0.8025 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7566, allocations: 7.922 kB / 0.8025 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7566, allocations: 0 / 0.8025 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.7566, allocations: 4 kB / 0.8025 GB, free: 13.93 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.003334/0.7599, allocations: 1.616 MB / 0.8041 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.76, allocations: 8.031 kB / 0.8041 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.7625, allocations: 374.2 kB / 0.8045 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.7638, allocations: 0.8161 MB / 0.8053 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.7639, allocations: 65.98 kB / 0.8053 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.764, allocations: 87.91 kB / 0.8054 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.7657, allocations: 1.049 MB / 0.8064 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.7657, allocations: 0 / 0.8064 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.7658, allocations: 39.98 kB / 0.8065 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.7659, allocations: 41.98 kB / 0.8065 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7673, allocations: 0.8783 MB / 0.8074 GB, free: 8.84 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.004778/0.7721, allocations: 4.26 MB / 0.8115 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7732, allocations: 0.7001 MB / 0.8122 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.7739, allocations: 450.9 kB / 0.8126 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.7746, allocations: 0.681 MB / 0.8133 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.7746, allocations: 43.06 kB / 0.8133 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/0.7746, allocations: 3.938 kB / 0.8133 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001872/0.7765, allocations: 0.9861 MB / 0.8143 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.7766, allocations: 55.97 kB / 0.8144 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/0.7773, allocations: 0.6411 MB / 0.815 GB, free: 500 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.7774, allocations: 45.64 kB / 0.815 GB, free: 448 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.7777, allocations: 428.1 kB / 0.8154 GB, free: 12 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.7779, allocations: 248.2 kB / 0.8157 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.7781, allocations: 118.3 kB / 0.8158 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7783, allocations: 390.8 kB / 0.8162 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.7788, allocations: 269.2 kB / 0.8164 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.7793, allocations: 370.8 kB / 0.8168 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.7803, allocations: 0.6704 MB / 0.8174 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7803, allocations: 0 / 0.8174 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001259/0.7816, allocations: 0.7813 MB / 0.8182 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7816, allocations: 10.17 kB / 0.8182 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.7816, allocations: 4 kB / 0.8182 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7816, allocations: 8.188 kB / 0.8182 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.7823, allocations: 139.8 kB / 0.8183 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.7823, allocations: 7.938 kB / 0.8184 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.7832, allocations: 99.38 kB / 0.8184 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.7833, allocations: 24 kB / 0.8185 GB, free: 12.84 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.000436/0.7838, allocations: 297.5 kB / 0.8188 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.7839, allocations: 83.06 kB / 0.8188 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.7853, allocations: 0.7818 MB / 0.8196 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.7853, allocations: 15.94 kB / 0.8196 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7853, allocations: 0 / 0.8196 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/0.7864, allocations: 0.8113 MB / 0.8204 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.7892, allocations: 1.848 MB / 0.8222 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7892, allocations: 0 / 0.8222 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.79, allocations: 171.8 kB / 0.8224 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7901, allocations: 4 kB / 0.8224 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.7901, allocations: 23.98 kB / 0.8224 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.7901, allocations: 4 kB / 0.8224 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7901, allocations: 0 / 0.8224 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.792, allocations: 1.273 MB / 0.8236 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.7924, allocations: 247.9 kB / 0.8239 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7926, allocations: 12 kB / 0.8239 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.7933, allocations: 79.78 kB / 0.824 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7934, allocations: 44.5 kB / 0.824 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.7935, allocations: 23.98 kB / 0.824 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005528/0.7941, allocations: 459 kB / 0.8245 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7941, allocations: 0 / 0.8245 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008777/0.7949, allocations: 335.2 kB / 0.8248 GB, free: 6.207 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.0003325/0.7953, allocations: 198.2 kB / 0.825 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7964, allocations: 0.6757 MB / 0.8256 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7965, allocations: 0 / 0.8256 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/0.797, allocations: 379.3 kB / 0.826 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.7993, allocations: 0.5233 MB / 0.8265 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.803, allocations: 2.602 MB / 0.8291 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.8036, allocations: 1.092 MB / 0.8301 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.804, allocations: 75.44 kB / 0.8302 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.804, allocations: 4 kB / 0.8302 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of Templates: time 0.02345/0.8274, allocations: 15.35 MB / 0.8452 GB, free: 1.414 MB / 0.6544 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)