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.00114/0.00114, allocations: 101.3 kB / 16.4 MB, free: 6 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.001077/0.001077, allocations: 196.5 kB / 17.34 MB, free: 5.582 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7164/0.7164, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.64 kB / 0.5679 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 77.94 MB / 0.644 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5455/0.6905, allocations: 201.9 MB / 0.8413 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.7009, allocations: 7.396 MB / 0.8485 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.7025, allocations: 39.47 kB / 0.8485 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.7043, allocations: 0.7358 MB / 0.8492 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.7102, allocations: 2.472 MB / 0.8517 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.7133, allocations: 1.258 MB / 0.8529 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.7169, allocations: 2.914 MB / 0.8557 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.7182, allocations: 0.952 MB / 0.8567 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.7199, allocations: 1.055 MB / 0.8577 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.7219, allocations: 0.9583 MB / 0.8586 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.7221, allocations: 110.8 kB / 0.8587 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.7262, allocations: 2.146 MB / 0.8608 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.7268, allocations: 442.7 kB / 0.8612 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009108/0.7277, allocations: 0.6728 MB / 0.8619 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004203/0.7319, allocations: 2.408 MB / 0.8643 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.732, allocations: 0 / 0.8643 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.732, allocations: 4 kB / 0.8643 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.732, allocations: 0 / 0.8643 GB, free: 10.43 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.003355/0.7354, allocations: 1.661 MB / 0.8659 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7354, allocations: 12.62 kB / 0.8659 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.7356, allocations: 131.3 kB / 0.866 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.7381, allocations: 382.9 kB / 0.8664 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.7396, allocations: 0.8636 MB / 0.8672 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.7396, allocations: 61.94 kB / 0.8673 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.7398, allocations: 87.98 kB / 0.8674 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.7414, allocations: 1.038 MB / 0.8684 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.7414, allocations: 11.92 kB / 0.8684 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.7415, allocations: 35.98 kB / 0.8684 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.7416, allocations: 45.98 kB / 0.8685 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.743, allocations: 0.8822 MB / 0.8693 GB, free: 5.09 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.004781/0.7478, allocations: 4.304 MB / 0.8735 GB, free: 440 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.7489, allocations: 0.691 MB / 0.8742 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.7497, allocations: 462.9 kB / 0.8747 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.7503, allocations: 0.6732 MB / 0.8753 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7503, allocations: 47.88 kB / 0.8754 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 4.418e-06/0.7503, allocations: 0 / 0.8754 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001828/0.7521, allocations: 0.9982 MB / 0.8763 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7522, allocations: 63.91 kB / 0.8764 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.7529, allocations: 0.6333 MB / 0.877 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.753, allocations: 41.7 kB / 0.877 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.7533, allocations: 440.8 kB / 0.8775 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.7535, allocations: 261.7 kB / 0.8777 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.7537, allocations: 122.3 kB / 0.8778 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7538, allocations: 390.7 kB / 0.8782 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.7543, allocations: 277.2 kB / 0.8785 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.7548, allocations: 357 kB / 0.8788 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.7557, allocations: 0.6587 MB / 0.8795 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7558, allocations: 0 / 0.8795 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001264/0.757, allocations: 0.7974 MB / 0.8802 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.757, allocations: 4 kB / 0.8802 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7571, allocations: 4.812 kB / 0.8802 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7571, allocations: 7.938 kB / 0.8803 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.7577, allocations: 143.8 kB / 0.8804 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7577, allocations: 4 kB / 0.8804 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.7585, allocations: 55.62 kB / 0.8804 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.7586, allocations: 28.12 kB / 0.8805 GB, free: 9.055 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.0003951/0.759, allocations: 285.6 kB / 0.8807 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.7591, allocations: 95.42 kB / 0.8808 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7604, allocations: 0.8009 MB / 0.8816 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.7605, allocations: 8 kB / 0.8816 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7605, allocations: 0 / 0.8816 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001006/0.7615, allocations: 0.8152 MB / 0.8824 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.764, allocations: 1.861 MB / 0.8842 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7641, allocations: 3.938 kB / 0.8842 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.7649, allocations: 167.8 kB / 0.8844 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.7649, allocations: 4 kB / 0.8844 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.765, allocations: 12 kB / 0.8844 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.765, allocations: 7.938 kB / 0.8844 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.765, allocations: 0 / 0.8844 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.7667, allocations: 1.199 MB / 0.8856 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.7672, allocations: 244.4 kB / 0.8858 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.7673, allocations: 16 kB / 0.8858 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.768, allocations: 29.81 kB / 0.8859 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.7681, allocations: 44.5 kB / 0.8859 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.7681, allocations: 23.98 kB / 0.8859 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005306/0.7687, allocations: 455 kB / 0.8864 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7687, allocations: 3.938 kB / 0.8864 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000816/0.7695, allocations: 335.4 kB / 0.8867 GB, free: 2.527 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.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.002116/0.7716, allocations: 1.834 MB / 0.8885 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.7727, allocations: 0.6838 MB / 0.8892 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7727, allocations: 0 / 0.8892 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.7732, allocations: 374.9 kB / 0.8895 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.7756, allocations: 0.5424 MB / 0.89 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/0.7849, allocations: 6.983 MB / 0.8969 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7856, allocations: 1.089 MB / 0.8979 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008951/0.7865, allocations: 227.2 kB / 0.8981 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.787, allocations: 363.2 kB / 0.8985 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of SimCode: time 1.152e-06/0.787, allocations: 0 / 0.8985 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05117/0.8382, allocations: 25.28 MB / 0.9232 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.606, allocations: 14.16 kB / 0.9232 GB, free: 13.27 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)