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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7704/0.7704, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 68.45 kB / 0.5011 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 80.21 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6251/0.8395, allocations: 199.7 MB / 0.7745 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.8542, allocations: 7.477 MB / 0.7818 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.8564, allocations: 31.81 kB / 0.7818 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.8585, allocations: 0.6064 MB / 0.7824 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.8653, allocations: 2.258 MB / 0.7846 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.8692, allocations: 1.119 MB / 0.7857 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00495/0.8742, allocations: 4.155 MB / 0.7898 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.8754, allocations: 0.8169 MB / 0.7905 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.8769, allocations: 0.8831 MB / 0.7914 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.8788, allocations: 1.003 MB / 0.7924 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.8789, allocations: 63.94 kB / 0.7925 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004896/0.8838, allocations: 2.482 MB / 0.7949 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.8843, allocations: 402.7 kB / 0.7953 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007783/0.8851, allocations: 0.6065 MB / 0.7959 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.8892, allocations: 2.501 MB / 0.7983 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8893, allocations: 4 kB / 0.7983 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8893, allocations: 0 / 0.7983 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.8893, allocations: 0 / 0.7983 GB, free: 3.266 MB / 0.6075 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.003269/0.8926, allocations: 1.632 MB / 0.7999 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.8926, allocations: 12.03 kB / 0.7999 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.8951, allocations: 370.2 kB / 0.8003 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.8963, allocations: 0.8161 MB / 0.8011 GB, free: 360 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.8964, allocations: 66 kB / 0.8011 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8965, allocations: 87.91 kB / 0.8012 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.8983, allocations: 1.042 MB / 0.8022 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.8984, allocations: 0 / 0.8022 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.8985, allocations: 32 kB / 0.8022 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.8985, allocations: 45.98 kB / 0.8023 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.9, allocations: 0.8744 MB / 0.8031 GB, free: 14.17 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.005206/0.9052, allocations: 4.276 MB / 0.8073 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.9063, allocations: 0.6855 MB / 0.808 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.9071, allocations: 463.6 kB / 0.8084 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.9078, allocations: 0.6693 MB / 0.8091 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.9079, allocations: 43.12 kB / 0.8091 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.9079, allocations: 0 / 0.8091 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001971/0.9098, allocations: 0.986 MB / 0.8101 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.9099, allocations: 63.97 kB / 0.8102 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.9107, allocations: 0.6333 MB / 0.8108 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/0.9108, allocations: 45.7 kB / 0.8108 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.9111, allocations: 440 kB / 0.8112 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.9114, allocations: 248.3 kB / 0.8115 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.9116, allocations: 114.3 kB / 0.8116 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.9118, allocations: 386.7 kB / 0.8119 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.9123, allocations: 277.2 kB / 0.8122 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.9129, allocations: 366.8 kB / 0.8126 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.9139, allocations: 0.6626 MB / 0.8132 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9139, allocations: 0 / 0.8132 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001243/0.9151, allocations: 0.793 MB / 0.814 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9152, allocations: 4 kB / 0.814 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9152, allocations: 0 / 0.814 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.9152, allocations: 8.188 kB / 0.814 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.9159, allocations: 147.8 kB / 0.8141 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.9159, allocations: 15.47 kB / 0.8141 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9169, allocations: 99.38 kB / 0.8142 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.917, allocations: 20 kB / 0.8143 GB, free: 2.168 MB / 0.6231 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.0004759/0.9175, allocations: 299 kB / 0.8145 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9176, allocations: 83.06 kB / 0.8146 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.919, allocations: 0.7842 MB / 0.8154 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.919, allocations: 7.938 kB / 0.8154 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.9191, allocations: 4 kB / 0.8154 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.9202, allocations: 0.8191 MB / 0.8162 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.9233, allocations: 1.84 MB / 0.818 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9233, allocations: 0 / 0.818 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.9242, allocations: 175.8 kB / 0.8182 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.9242, allocations: 7.984 kB / 0.8182 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.9242, allocations: 19.98 kB / 0.8182 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.9243, allocations: 0 / 0.8182 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9243, allocations: 0 / 0.8182 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.9263, allocations: 1.275 MB / 0.8194 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.9268, allocations: 247.9 kB / 0.8197 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9269, allocations: 16 kB / 0.8197 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.9277, allocations: 78.59 kB / 0.8198 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9278, allocations: 40.5 kB / 0.8198 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.9279, allocations: 27.98 kB / 0.8198 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006069/0.9285, allocations: 451 kB / 0.8203 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9285, allocations: 0 / 0.8203 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000979/0.9295, allocations: 343.1 kB / 0.8206 GB, free: 11.53 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.0003993/0.9299, allocations: 195.8 kB / 0.8208 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.931, allocations: 0.6757 MB / 0.8214 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9311, allocations: 0 / 0.8214 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.9316, allocations: 371.4 kB / 0.8218 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.934, allocations: 0.5335 MB / 0.8223 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.9387, allocations: 2.538 MB / 0.8248 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.9397, allocations: 1.089 MB / 0.8259 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001057/0.9407, allocations: 224.8 kB / 0.8261 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.941, allocations: 71.44 kB / 0.8261 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.941, allocations: 0 / 0.8261 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of Templates: time 0.03383/0.9749, allocations: 17.52 MB / 0.8432 GB, free: 4.562 MB / 0.6544 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)