Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.001281/0.001282, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.219/1.219, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6892/0.6892, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5124/0.805, allocations: 201.9 MB / 0.7645 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.8152, allocations: 7.386 MB / 0.7717 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8163, allocations: 37.31 kB / 0.7717 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.8179, allocations: 0.6901 MB / 0.7724 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.8231, allocations: 2.415 MB / 0.7748 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.8258, allocations: 1.219 MB / 0.776 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.8291, allocations: 2.912 MB / 0.7788 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.8303, allocations: 0.9492 MB / 0.7797 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.8318, allocations: 1.01 MB / 0.7807 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.8334, allocations: 0.9589 MB / 0.7816 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.8336, allocations: 108.4 kB / 0.7818 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.837, allocations: 2.135 MB / 0.7838 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.8374, allocations: 449.9 kB / 0.7843 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.838, allocations: 0.6657 MB / 0.7849 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.8406, allocations: 2.389 MB / 0.7872 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8406, allocations: 0 / 0.7872 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8406, allocations: 0 / 0.7872 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.8406, allocations: 2.75 kB / 0.7873 GB, free: 1.285 MB / 0.5762 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.002581/0.8432, allocations: 1.627 MB / 0.7888 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.8432, allocations: 11.53 kB / 0.7889 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.8434, allocations: 132.8 kB / 0.789 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.8456, allocations: 378.7 kB / 0.7893 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.8465, allocations: 0.8084 MB / 0.7901 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.8466, allocations: 70.28 kB / 0.7902 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.8467, allocations: 88.33 kB / 0.7903 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.848, allocations: 1.045 MB / 0.7913 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.8481, allocations: 1.062 kB / 0.7913 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.8481, allocations: 38.34 kB / 0.7913 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.8482, allocations: 44.94 kB / 0.7914 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.8494, allocations: 0.8816 MB / 0.7922 GB, free: 15.87 MB / 0.5919 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.003809/0.8533, allocations: 4.332 MB / 0.7965 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.8542, allocations: 0.6937 MB / 0.7971 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.8549, allocations: 459.5 kB / 0.7976 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.8555, allocations: 0.6704 MB / 0.7982 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.8555, allocations: 45.53 kB / 0.7983 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/0.8555, allocations: 0.8438 kB / 0.7983 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001645/0.8572, allocations: 0.9867 MB / 0.7993 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.8572, allocations: 65.28 kB / 0.7993 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.8579, allocations: 0.636 MB / 0.7999 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.8579, allocations: 39.92 kB / 0.8 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.8582, allocations: 433.8 kB / 0.8004 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.8584, allocations: 255.8 kB / 0.8006 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.8585, allocations: 114.2 kB / 0.8007 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8587, allocations: 391.1 kB / 0.8011 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003936/0.8591, allocations: 275.8 kB / 0.8014 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.8596, allocations: 351.9 kB / 0.8017 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.8605, allocations: 0.6617 MB / 0.8024 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8605, allocations: 2.188 kB / 0.8024 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00111/0.8617, allocations: 0.7951 MB / 0.8031 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8617, allocations: 8.281 kB / 0.8031 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8617, allocations: 3.25 kB / 0.8031 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8617, allocations: 9.234 kB / 0.8032 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.8623, allocations: 148.7 kB / 0.8033 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.8623, allocations: 10.16 kB / 0.8033 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.863, allocations: 44.41 kB / 0.8033 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.8631, allocations: 25.45 kB / 0.8034 GB, free: 11.32 MB / 0.5919 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.0003616/0.8635, allocations: 289.2 kB / 0.8036 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.8636, allocations: 85.66 kB / 0.8037 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.8648, allocations: 0.8 MB / 0.8045 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8648, allocations: 6.062 kB / 0.8045 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.8648, allocations: 6.812 kB / 0.8045 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009275/0.8658, allocations: 0.8186 MB / 0.8053 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.8682, allocations: 1.852 MB / 0.8071 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8682, allocations: 0.8125 kB / 0.8071 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.869, allocations: 163.1 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.869, allocations: 4.719 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.869, allocations: 18.61 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.869, allocations: 0 / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.869, allocations: 2.469 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.8705, allocations: 1.198 MB / 0.8085 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.8709, allocations: 248.9 kB / 0.8087 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.871, allocations: 12.66 kB / 0.8087 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.8716, allocations: 25.2 kB / 0.8088 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.8717, allocations: 42.53 kB / 0.8088 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.8718, allocations: 21.5 kB / 0.8088 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004656/0.8722, allocations: 460.6 kB / 0.8093 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8722, allocations: 1 kB / 0.8093 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007873/0.873, allocations: 335.8 kB / 0.8096 GB, free: 10.01 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.002095/0.8751, allocations: 1.833 MB / 0.8114 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.8767, allocations: 0.8168 MB / 0.8122 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8767, allocations: 4.094 kB / 0.8122 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.8772, allocations: 374.9 kB / 0.8125 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.8796, allocations: 0.5428 MB / 0.8131 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.8886, allocations: 7.195 MB / 0.8201 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.8892, allocations: 1.089 MB / 0.8211 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009255/0.8901, allocations: 228.8 kB / 0.8214 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.8905, allocations: 357.2 kB / 0.8217 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of SimCode: time 5.92e-07/0.8905, allocations: 0 / 0.8217 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.9382, allocations: 25.1 MB / 0.8462 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.403, allocations: 15.16 kB / 0.8462 GB, free: 15.21 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)