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.0009359/0.0009359, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00761/0.00761, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 13.95 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6115, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.2598/0.8714, allocations: 197.1 MB / 0.7761 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.8858, allocations: 7.399 MB / 0.7834 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.8881, allocations: 31.81 kB / 0.7834 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.8906, allocations: 0.5947 MB / 0.784 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.8991, allocations: 2.267 MB / 0.7862 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.9035, allocations: 1.125 MB / 0.7873 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006312/0.9099, allocations: 4.151 MB / 0.7913 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.9117, allocations: 0.7779 MB / 0.7921 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.9142, allocations: 0.8596 MB / 0.7929 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.9174, allocations: 0.9615 MB / 0.7939 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/0.9179, allocations: 48 kB / 0.7939 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/0.9239, allocations: 2.486 MB / 0.7963 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008494/0.9247, allocations: 378.8 kB / 0.7967 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.9264, allocations: 0.612 MB / 0.7973 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.9324, allocations: 2.473 MB / 0.7997 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9325, allocations: 0 / 0.7997 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9325, allocations: 4 kB / 0.7997 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.275e-05/0.9326, allocations: 0 / 0.7997 GB, free: 2.438 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.004403/0.937, allocations: 1.406 MB / 0.8011 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.937, allocations: 8.031 kB / 0.8011 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.94, allocations: 374.2 kB / 0.8015 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.9419, allocations: 0.8161 MB / 0.8023 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.942, allocations: 66 kB / 0.8023 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.9423, allocations: 91.84 kB / 0.8024 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.9446, allocations: 1.045 MB / 0.8034 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.9446, allocations: 4 kB / 0.8034 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9447, allocations: 36 kB / 0.8035 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-05/0.9448, allocations: 45.98 kB / 0.8035 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.9468, allocations: 0.8783 MB / 0.8044 GB, free: 13.55 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 preOpt removeSimpleEquations (simulation): time 0.006234/0.953, allocations: 4.28 MB / 0.8085 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.9543, allocations: 0.6841 MB / 0.8092 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008441/0.9551, allocations: 459.5 kB / 0.8097 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.9559, allocations: 0.6693 MB / 0.8103 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.956, allocations: 47.06 kB / 0.8103 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/0.956, allocations: 0 / 0.8103 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002174/0.9582, allocations: 0.99 MB / 0.8113 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.9582, allocations: 63.97 kB / 0.8114 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.9592, allocations: 0.6372 MB / 0.812 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.042e-05/0.9593, allocations: 41.7 kB / 0.812 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.9597, allocations: 432.1 kB / 0.8125 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.96, allocations: 252.3 kB / 0.8127 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.9601, allocations: 57.69 kB / 0.8127 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.9603, allocations: 394.7 kB / 0.8131 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.9608, allocations: 277.2 kB / 0.8134 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.9615, allocations: 362.8 kB / 0.8137 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9626, allocations: 0.6703 MB / 0.8144 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9627, allocations: 4 kB / 0.8144 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001503/0.9642, allocations: 0.7892 MB / 0.8152 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.9642, allocations: 4 kB / 0.8152 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9642, allocations: 4 kB / 0.8152 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.9643, allocations: 7.938 kB / 0.8152 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.965, allocations: 139.8 kB / 0.8153 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.965, allocations: 4 kB / 0.8153 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9661, allocations: 111.5 kB / 0.8154 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.9662, allocations: 20 kB / 0.8154 GB, free: 1.582 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.0005474/0.9667, allocations: 297.5 kB / 0.8157 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.967, allocations: 79.06 kB / 0.8158 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.9685, allocations: 0.8036 MB / 0.8166 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.9686, allocations: 8 kB / 0.8166 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9686, allocations: 0 / 0.8166 GB, free: 392 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.481/1.45, allocations: 0.8143 MB / 0.8174 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/1.453, allocations: 1.839 MB / 0.8192 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.453, allocations: 0 / 0.8192 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/1.454, allocations: 177.8 kB / 0.8194 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.454, allocations: 4.938 kB / 0.8194 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/1.454, allocations: 14.83 kB / 0.8194 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/1.454, allocations: 2.906 kB / 0.8194 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.454, allocations: 4.672 kB / 0.8194 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.457, allocations: 1.282 MB / 0.8206 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/1.458, allocations: 250.4 kB / 0.8209 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.458, allocations: 15.64 kB / 0.8209 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/1.458, allocations: 74.89 kB / 0.821 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.459, allocations: 44.69 kB / 0.821 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/1.459, allocations: 22.89 kB / 0.821 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007259/1.459, allocations: 456.9 kB / 0.8215 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/1.459, allocations: 0 / 0.8215 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001078/1.461, allocations: 338.5 kB / 0.8218 GB, free: 28.73 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.0003938/1.461, allocations: 194.2 kB / 0.822 GB, free: 28.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001462/1.462, allocations: 0.6797 MB / 0.8226 GB, free: 28.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.462, allocations: 1.328 kB / 0.8226 GB, free: 28.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/1.463, allocations: 377.5 kB / 0.823 GB, free: 28.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.466, allocations: 0.5216 MB / 0.8235 GB, free: 28.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/1.47, allocations: 2.692 MB / 0.8261 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/1.47, allocations: 1.091 MB / 0.8272 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001108/1.471, allocations: 226.1 kB / 0.8274 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/1.472, allocations: 74.81 kB / 0.8275 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/1.472, allocations: 0 / 0.8275 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.03113/1.503, allocations: 17.41 MB / 0.8445 GB, free: 25.44 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)