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.001519/0.001519, allocations: 108 kB / 15.6 MB, free: 132 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.001321/0.001321, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.94/0.94, allocations: 135.2 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.17 kB / 0.5054 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1758, allocations: 80.93 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5122/0.6881, allocations: 202 MB / 0.7816 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.7, allocations: 7.371 MB / 0.7888 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7017, allocations: 39.81 kB / 0.7889 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.7037, allocations: 0.703 MB / 0.7895 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.7098, allocations: 2.392 MB / 0.7919 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.7132, allocations: 1.229 MB / 0.7931 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.7173, allocations: 2.912 MB / 0.7959 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.7187, allocations: 0.9488 MB / 0.7968 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.7205, allocations: 1.008 MB / 0.7978 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.7223, allocations: 0.9724 MB / 0.7988 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.7224, allocations: 108 kB / 0.7989 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.7268, allocations: 2.139 MB / 0.801 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.7273, allocations: 446.8 kB / 0.8014 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.7281, allocations: 0.665 MB / 0.802 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.7317, allocations: 2.38 MB / 0.8044 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7318, allocations: 3.938 kB / 0.8044 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7318, allocations: 0 / 0.8044 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.7318, allocations: 0 / 0.8044 GB, free: 11.57 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.003138/0.7349, allocations: 1.628 MB / 0.806 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.735, allocations: 12.03 kB / 0.806 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.7374, allocations: 370.2 kB / 0.8063 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.7387, allocations: 0.8161 MB / 0.8071 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.7387, allocations: 65.98 kB / 0.8072 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.7389, allocations: 87.91 kB / 0.8073 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.7405, allocations: 1.045 MB / 0.8083 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.7406, allocations: 11.91 kB / 0.8083 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.7407, allocations: 36 kB / 0.8083 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.7407, allocations: 41.98 kB / 0.8084 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.7422, allocations: 0.8783 MB / 0.8092 GB, free: 6.457 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.005124/0.7473, allocations: 4.315 MB / 0.8135 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.7484, allocations: 0.6806 MB / 0.8141 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007638/0.7492, allocations: 450.9 kB / 0.8145 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.75, allocations: 0.681 MB / 0.8152 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.7501, allocations: 43.06 kB / 0.8153 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 3.367e-06/0.7501, allocations: 0 / 0.8153 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002064/0.7521, allocations: 0.9861 MB / 0.8162 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.7522, allocations: 55.97 kB / 0.8163 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.753, allocations: 0.645 MB / 0.8169 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.7531, allocations: 41.7 kB / 0.8169 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.7535, allocations: 424.1 kB / 0.8173 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.7537, allocations: 252.2 kB / 0.8176 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.754, allocations: 118.3 kB / 0.8177 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.7542, allocations: 386.8 kB / 0.8181 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.7547, allocations: 269.2 kB / 0.8183 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.7553, allocations: 378.7 kB / 0.8187 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.7564, allocations: 0.6587 MB / 0.8193 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7564, allocations: 0 / 0.8193 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001302/0.7577, allocations: 0.7865 MB / 0.8201 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.7577, allocations: 8.172 kB / 0.8201 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7577, allocations: 11.94 kB / 0.8201 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.7578, allocations: 4 kB / 0.8201 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/0.7584, allocations: 143.8 kB / 0.8203 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7585, allocations: 7.938 kB / 0.8203 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/0.7593, allocations: 51.52 kB / 0.8203 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.7593, allocations: 24 kB / 0.8203 GB, free: 10.46 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.0005332/0.7599, allocations: 285.6 kB / 0.8206 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7601, allocations: 90.95 kB / 0.8207 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.7616, allocations: 0.7881 MB / 0.8215 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.7616, allocations: 11.94 kB / 0.8215 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7616, allocations: 0 / 0.8215 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.7629, allocations: 0.8153 MB / 0.8223 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.766, allocations: 1.849 MB / 0.8241 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.766, allocations: 0 / 0.8241 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.7669, allocations: 167.8 kB / 0.8242 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.7669, allocations: 4 kB / 0.8242 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/0.767, allocations: 23.94 kB / 0.8243 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.767, allocations: 11.11 kB / 0.8243 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.767, allocations: 0 / 0.8243 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7691, allocations: 1.268 MB / 0.8255 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005747/0.7697, allocations: 251.8 kB / 0.8258 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.7699, allocations: 12 kB / 0.8258 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.7707, allocations: 27.17 kB / 0.8258 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7709, allocations: 48.5 kB / 0.8258 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.771, allocations: 16 kB / 0.8259 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007169/0.7717, allocations: 463 kB / 0.8263 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.344e-06/0.7717, allocations: 0 / 0.8263 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001277/0.773, allocations: 339.2 kB / 0.8266 GB, free: 3.887 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.0004702/0.7735, allocations: 200.8 kB / 0.8268 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001839/0.7753, allocations: 0.8201 MB / 0.8276 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7753, allocations: 0 / 0.8276 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.7759, allocations: 367 kB / 0.828 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.7784, allocations: 0.5506 MB / 0.8285 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.7822, allocations: 2.153 MB / 0.8306 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.7829, allocations: 1.085 MB / 0.8317 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009815/0.7839, allocations: 227.2 kB / 0.8319 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.7841, allocations: 71.44 kB / 0.8319 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.202e-06/0.7841, allocations: 4 kB / 0.8319 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.03417/0.8183, allocations: 18.36 MB / 0.8499 GB, free: 12.3 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)