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.001306/0.001306, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001362/0.001362, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7795/0.7795, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 71.33 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.143, allocations: 78.87 MB / 0.6505 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5387/0.6817, allocations: 202 MB / 0.8478 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.6938, allocations: 7.395 MB / 0.855 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.6956, allocations: 36.56 kB / 0.8551 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.6976, allocations: 0.7059 MB / 0.8558 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.7039, allocations: 2.4 MB / 0.8581 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.7071, allocations: 1.241 MB / 0.8593 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.7112, allocations: 2.903 MB / 0.8621 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7126, allocations: 0.9499 MB / 0.8631 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.7148, allocations: 1.129 MB / 0.8642 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.717, allocations: 0.9624 MB / 0.8651 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.7173, allocations: 108 kB / 0.8652 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/0.7218, allocations: 2.124 MB / 0.8673 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005328/0.7223, allocations: 450.8 kB / 0.8677 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008917/0.7232, allocations: 0.6572 MB / 0.8684 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.7276, allocations: 2.42 MB / 0.8707 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.7276, allocations: 0 / 0.8707 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7276, allocations: 7.938 kB / 0.8707 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.7277, allocations: 0 / 0.8707 GB, free: 1.723 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.003155/0.7308, allocations: 1.661 MB / 0.8724 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.7309, allocations: 12.08 kB / 0.8724 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.7311, allocations: 135.2 kB / 0.8725 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.7335, allocations: 378.9 kB / 0.8729 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.7349, allocations: 0.8676 MB / 0.8737 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.7349, allocations: 58 kB / 0.8738 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.7351, allocations: 84 kB / 0.8738 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.7368, allocations: 1.042 MB / 0.8749 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.7368, allocations: 7.875 kB / 0.8749 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.7369, allocations: 40 kB / 0.8749 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.737, allocations: 37.98 kB / 0.8749 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.7386, allocations: 0.8861 MB / 0.8758 GB, free: 12.38 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.00521/0.7438, allocations: 4.392 MB / 0.8801 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.745, allocations: 0.6864 MB / 0.8808 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/0.7459, allocations: 463 kB / 0.8812 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000711/0.7466, allocations: 0.6732 MB / 0.8819 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.7466, allocations: 48.12 kB / 0.8819 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.946e-06/0.7466, allocations: 0 / 0.8819 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001994/0.7486, allocations: 0.9943 MB / 0.8829 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.7487, allocations: 55.97 kB / 0.8829 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.7495, allocations: 0.6411 MB / 0.8836 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.7496, allocations: 41.7 kB / 0.8836 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.7499, allocations: 444.8 kB / 0.884 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.7502, allocations: 257.7 kB / 0.8843 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.7504, allocations: 118.3 kB / 0.8844 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.7506, allocations: 382.8 kB / 0.8848 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.7511, allocations: 277.2 kB / 0.885 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.7517, allocations: 365 kB / 0.8854 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.7527, allocations: 0.6626 MB / 0.886 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7527, allocations: 4 kB / 0.886 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001407/0.7542, allocations: 0.7935 MB / 0.8868 GB, free: 500 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7542, allocations: 8 kB / 0.8868 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7542, allocations: 3.938 kB / 0.8868 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7542, allocations: 4 kB / 0.8868 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.7549, allocations: 144.8 kB / 0.8869 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.7549, allocations: 12 kB / 0.887 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.7556, allocations: 59.55 kB / 0.887 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.7557, allocations: 20 kB / 0.887 GB, free: 248 kB / 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.0004484/0.7561, allocations: 285.6 kB / 0.8873 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.7563, allocations: 87.48 kB / 0.8874 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.7578, allocations: 0.7881 MB / 0.8882 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.7578, allocations: 11.94 kB / 0.8882 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7578, allocations: 3.938 kB / 0.8882 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.7589, allocations: 0.8153 MB / 0.889 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.7617, allocations: 1.857 MB / 0.8908 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7617, allocations: 4 kB / 0.8908 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.7625, allocations: 163.8 kB / 0.8909 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.7625, allocations: 4 kB / 0.8909 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.7626, allocations: 15.98 kB / 0.891 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.7626, allocations: 4 kB / 0.891 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7626, allocations: 7.875 kB / 0.891 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.7645, allocations: 1.207 MB / 0.8921 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.7649, allocations: 248.3 kB / 0.8924 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.765, allocations: 19.98 kB / 0.8924 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.7656, allocations: 16.94 kB / 0.8924 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7657, allocations: 44.5 kB / 0.8925 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.7658, allocations: 23.98 kB / 0.8925 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005803/0.7663, allocations: 455 kB / 0.8929 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7663, allocations: 4 kB / 0.8929 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008322/0.7672, allocations: 343.3 kB / 0.8933 GB, free: 9.707 MB / 0.6544 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.002396/0.7696, allocations: 1.836 MB / 0.895 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.7708, allocations: 0.6757 MB / 0.8957 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7708, allocations: 0 / 0.8957 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.7714, allocations: 379 kB / 0.8961 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.7738, allocations: 0.5431 MB / 0.8966 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7839, allocations: 6.991 MB / 0.9034 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007485/0.7847, allocations: 1.092 MB / 0.9045 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008791/0.7856, allocations: 227.2 kB / 0.9047 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.7861, allocations: 355.3 kB / 0.905 GB, free: 13.43 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.7861, allocations: 0 / 0.905 GB, free: 13.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.8444, allocations: 25.27 MB / 0.9297 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.217/10.06, allocations: 17.19 kB / 0.9297 GB, free: 4.449 MB / 0.6856 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)