Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_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.007381/0.007381, allocations: 98.34 kB / 15.73 MB, free: 6.062 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.001714/0.001714, allocations: 193.4 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8721/0.8721, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.5 kB / 0.595 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1406, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5472/0.6879, allocations: 202.1 MB / 0.8725 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.6988, allocations: 7.412 MB / 0.8798 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.7005, allocations: 35.81 kB / 0.8798 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.7024, allocations: 0.7226 MB / 0.8805 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006357/0.7088, allocations: 2.482 MB / 0.8829 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.7122, allocations: 1.253 MB / 0.8841 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004081/0.7163, allocations: 2.922 MB / 0.887 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.7177, allocations: 0.9439 MB / 0.8879 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.7196, allocations: 1.051 MB / 0.8889 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.7216, allocations: 0.9708 MB / 0.8899 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.7218, allocations: 112 kB / 0.89 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.7261, allocations: 2.139 MB / 0.8921 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.7266, allocations: 450.8 kB / 0.8925 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008085/0.7274, allocations: 0.665 MB / 0.8932 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.7318, allocations: 2.492 MB / 0.8956 GB, free: 12.24 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7319, allocations: 4 kB / 0.8956 GB, free: 12.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7319, allocations: 0 / 0.8956 GB, free: 12.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.898e-05/0.7319, allocations: 0 / 0.8956 GB, free: 12.23 MB / 0.67 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.003921/0.7359, allocations: 1.663 MB / 0.8972 GB, free: 10.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.7359, allocations: 15.97 kB / 0.8972 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.7361, allocations: 135.3 kB / 0.8974 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.7388, allocations: 378.9 kB / 0.8977 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.7404, allocations: 0.8598 MB / 0.8986 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/0.7405, allocations: 62 kB / 0.8986 GB, free: 9.027 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.7406, allocations: 87.94 kB / 0.8987 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.7424, allocations: 1.045 MB / 0.8997 GB, free: 7.863 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.7424, allocations: 0 / 0.8997 GB, free: 7.863 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.7425, allocations: 40 kB / 0.8998 GB, free: 7.824 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.7426, allocations: 37.98 kB / 0.8998 GB, free: 7.785 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.7441, allocations: 0.8861 MB / 0.9007 GB, free: 6.902 MB / 0.67 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.004873/0.749, allocations: 4.312 MB / 0.9049 GB, free: 2.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.7502, allocations: 0.6864 MB / 0.9056 GB, free: 1.539 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.751, allocations: 466.9 kB / 0.906 GB, free: 1.082 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006038/0.7516, allocations: 0.6732 MB / 0.9067 GB, free: 268 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7516, allocations: 47.06 kB / 0.9067 GB, free: 212 kB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.375e-06/0.7516, allocations: 0 / 0.9067 GB, free: 212 kB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.001949/0.7536, allocations: 0.9905 MB / 0.9077 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7536, allocations: 59.97 kB / 0.9077 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.7544, allocations: 0.6411 MB / 0.9084 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.7545, allocations: 41.7 kB / 0.9084 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.7548, allocations: 440.8 kB / 0.9088 GB, free: 14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.755, allocations: 265.6 kB / 0.9091 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7552, allocations: 118.3 kB / 0.9092 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7554, allocations: 390.7 kB / 0.9096 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.7559, allocations: 277.2 kB / 0.9098 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.7564, allocations: 361 kB / 0.9102 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.7575, allocations: 0.6587 MB / 0.9108 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7575, allocations: 4 kB / 0.9108 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00133/0.7588, allocations: 0.7934 MB / 0.9116 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.7588, allocations: 8.188 kB / 0.9116 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.7588, allocations: 4 kB / 0.9116 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7589, allocations: 4 kB / 0.9116 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.7595, allocations: 139.8 kB / 0.9117 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.7596, allocations: 7.984 kB / 0.9117 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.7604, allocations: 55.62 kB / 0.9118 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.7604, allocations: 28.88 kB / 0.9118 GB, free: 10.86 MB / 0.6856 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.0003786/0.7608, allocations: 282.3 kB / 0.9121 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.761, allocations: 95.44 kB / 0.9122 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.7624, allocations: 0.7959 MB / 0.913 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.7624, allocations: 11.98 kB / 0.913 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7624, allocations: 0 / 0.913 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.7635, allocations: 0.8191 MB / 0.9138 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.7663, allocations: 1.853 MB / 0.9156 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7663, allocations: 7.938 kB / 0.9156 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/0.7672, allocations: 168.5 kB / 0.9158 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.7672, allocations: 4 kB / 0.9158 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.7672, allocations: 12 kB / 0.9158 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7673, allocations: 8 kB / 0.9158 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7673, allocations: 0 / 0.9158 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.7691, allocations: 1.199 MB / 0.9169 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.7695, allocations: 248.4 kB / 0.9172 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.7697, allocations: 16 kB / 0.9172 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.7704, allocations: 21.86 kB / 0.9172 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.7705, allocations: 44.5 kB / 0.9173 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.7705, allocations: 27.98 kB / 0.9173 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005459/0.7711, allocations: 455 kB / 0.9177 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7711, allocations: 0 / 0.9177 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008907/0.772, allocations: 339.3 kB / 0.918 GB, free: 4.332 MB / 0.6856 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.002249/0.7743, allocations: 1.847 MB / 0.9199 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.7754, allocations: 0.676 MB / 0.9205 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7755, allocations: 4.062 kB / 0.9205 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.776, allocations: 371 kB / 0.9209 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.7784, allocations: 0.5422 MB / 0.9214 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009816/0.7883, allocations: 6.972 MB / 0.9282 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006931/0.789, allocations: 1.089 MB / 0.9293 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008556/0.7898, allocations: 227.2 kB / 0.9295 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.7904, allocations: 359.3 kB / 0.9298 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of SimCode: time 6.12e-07/0.7904, allocations: 3.938 kB / 0.9298 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0527/0.8431, allocations: 25.34 MB / 0.9546 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/9.983, allocations: 14.11 kB / 0.9546 GB, free: 15.08 MB / 0.7325 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)