Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_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.007011/0.007011, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001695/0.001695, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002474/0.002474, allocations: 282.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 95.86 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4482, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2234/0.6716, allocations: 202 MB / 0.9786 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.6832, allocations: 7.395 MB / 0.9858 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.6845, allocations: 35.81 kB / 0.9858 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.6864, allocations: 0.6953 MB / 0.9865 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.6924, allocations: 2.403 MB / 0.9888 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.6955, allocations: 1.238 MB / 0.99 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.6994, allocations: 2.907 MB / 0.9929 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.7008, allocations: 0.9504 MB / 0.9938 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.7025, allocations: 1.02 MB / 0.9948 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.7044, allocations: 0.971 MB / 0.9958 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.7046, allocations: 112 kB / 0.9959 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004124/0.7087, allocations: 2.128 MB / 0.9979 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.7093, allocations: 458.8 kB / 0.9984 GB, free: 224 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009369/0.7102, allocations: 0.6652 MB / 0.999 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.7147, allocations: 2.402 MB / 1.001 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.7148, allocations: 4 kB / 1.001 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.917e-06/0.7148, allocations: 3.984 kB / 1.001 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.7148, allocations: 0 / 1.001 GB, free: 13.13 MB / 0.7637 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.003748/0.7186, allocations: 1.661 MB / 1.003 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7186, allocations: 8.031 kB / 1.003 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.7188, allocations: 139.3 kB / 1.003 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.7213, allocations: 374.9 kB / 1.004 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.7227, allocations: 0.8636 MB / 1.004 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.7227, allocations: 62 kB / 1.004 GB, free: 9.93 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7229, allocations: 84 kB / 1.004 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.7246, allocations: 1.045 MB / 1.006 GB, free: 8.766 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.7247, allocations: 4 kB / 1.006 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.7248, allocations: 32 kB / 1.006 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.7249, allocations: 49.92 kB / 1.006 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.7265, allocations: 0.8822 MB / 1.006 GB, free: 7.801 MB / 0.7637 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.0053/0.7318, allocations: 4.308 MB / 1.011 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.733, allocations: 0.6974 MB / 1.011 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.7339, allocations: 459 kB / 1.012 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.7346, allocations: 0.6732 MB / 1.012 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.7346, allocations: 39.12 kB / 1.012 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 2.515e-06/0.7347, allocations: 0 / 1.012 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.002041/0.7367, allocations: 1.002 MB / 1.013 GB, free: 116 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.7368, allocations: 55.97 kB / 1.014 GB, free: 48 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.7376, allocations: 0.6412 MB / 1.014 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.7377, allocations: 37.7 kB / 1.014 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.7381, allocations: 444.8 kB / 1.015 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.7383, allocations: 261.6 kB / 1.015 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.7385, allocations: 122.3 kB / 1.015 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7387, allocations: 390.8 kB / 1.015 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.7392, allocations: 273.2 kB / 1.016 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.7397, allocations: 353.1 kB / 1.016 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7408, allocations: 0.6665 MB / 1.017 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7408, allocations: 0 / 1.017 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001423/0.7422, allocations: 0.8014 MB / 1.017 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.7423, allocations: 8 kB / 1.017 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7423, allocations: 3.938 kB / 1.017 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.7423, allocations: 4 kB / 1.017 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.743, allocations: 147.7 kB / 1.018 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.743, allocations: 8 kB / 1.018 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.7437, allocations: 51.56 kB / 1.018 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.7438, allocations: 27.98 kB / 1.018 GB, free: 11.76 MB / 0.7794 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.0004552/0.7443, allocations: 285.7 kB / 1.018 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.7444, allocations: 83.48 kB / 1.018 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.7459, allocations: 0.792 MB / 1.019 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7459, allocations: 8 kB / 1.019 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.7459, allocations: 7.938 kB / 1.019 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/0.7471, allocations: 0.823 MB / 1.02 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.7501, allocations: 1.853 MB / 1.021 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7501, allocations: 0 / 1.021 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008295/0.7509, allocations: 159.8 kB / 1.022 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.7509, allocations: 4 kB / 1.022 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.751, allocations: 20 kB / 1.022 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.751, allocations: 7.938 kB / 1.022 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.751, allocations: 0 / 1.022 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.7529, allocations: 1.203 MB / 1.023 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.7534, allocations: 248.3 kB / 1.023 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7535, allocations: 12 kB / 1.023 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.7541, allocations: 27.98 kB / 1.023 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7542, allocations: 44.5 kB / 1.023 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.7543, allocations: 19.98 kB / 1.023 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005738/0.7549, allocations: 459 kB / 1.023 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7549, allocations: 0 / 1.023 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008355/0.7557, allocations: 339.3 kB / 1.024 GB, free: 5.242 MB / 0.7794 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.002382/0.7581, allocations: 1.839 MB / 1.026 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.7593, allocations: 0.672 MB / 1.026 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7593, allocations: 8.125 kB / 1.026 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.7599, allocations: 371 kB / 1.027 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.7624, allocations: 0.5534 MB / 1.027 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.7727, allocations: 6.98 MB / 1.034 GB, free: 10.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.7735, allocations: 1.092 MB / 1.035 GB, free: 9.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008987/0.7744, allocations: 227.2 kB / 1.035 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.7749, allocations: 355.3 kB / 1.036 GB, free: 8.953 MB / 0.795 GB Notification: Performance of SimCode: time 8.82e-07/0.7749, allocations: 0 / 1.036 GB, free: 8.953 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.8345, allocations: 25.3 MB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.188/10.02, allocations: 7.938 kB / 1.06 GB, free: 60 kB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)