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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.004803/0.004803, allocations: 100.9 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.001297/0.001297, allocations: 195.3 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9184/0.9184, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.14 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1509, allocations: 82.05 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5476/0.6985, allocations: 202.1 MB / 0.8728 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.7103, allocations: 7.411 MB / 0.88 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.7115, allocations: 35.81 kB / 0.88 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.7134, allocations: 0.6992 MB / 0.8807 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.7195, allocations: 2.396 MB / 0.8831 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.7228, allocations: 1.249 MB / 0.8843 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004738/0.7275, allocations: 2.909 MB / 0.8871 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7292, allocations: 0.9541 MB / 0.8881 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.7311, allocations: 1.024 MB / 0.8891 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.7331, allocations: 0.952 MB / 0.89 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.7333, allocations: 115.9 kB / 0.8901 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.7377, allocations: 2.124 MB / 0.8922 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005347/0.7383, allocations: 458.8 kB / 0.8926 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008277/0.7391, allocations: 0.6534 MB / 0.8932 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.743, allocations: 2.496 MB / 0.8957 GB, free: 12.09 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.743, allocations: 4 kB / 0.8957 GB, free: 12.09 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.342e-06/0.743, allocations: 0 / 0.8957 GB, free: 12.09 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.743, allocations: 0 / 0.8957 GB, free: 12.09 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.003437/0.7465, allocations: 1.665 MB / 0.8973 GB, free: 10.37 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.7465, allocations: 8.031 kB / 0.8973 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.7467, allocations: 139.2 kB / 0.8975 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002518/0.7492, allocations: 386.9 kB / 0.8978 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.7507, allocations: 0.8559 MB / 0.8987 GB, free: 8.938 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.7508, allocations: 62 kB / 0.8987 GB, free: 8.875 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.751, allocations: 84 kB / 0.8988 GB, free: 8.793 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.7528, allocations: 1.038 MB / 0.8998 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7528, allocations: 4 kB / 0.8998 GB, free: 7.719 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.753, allocations: 43.97 kB / 0.8999 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.753, allocations: 38 kB / 0.8999 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.7547, allocations: 0.8861 MB / 0.9008 GB, free: 6.754 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.005299/0.76, allocations: 4.304 MB / 0.905 GB, free: 2.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.7613, allocations: 0.6935 MB / 0.9056 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/0.7622, allocations: 463 kB / 0.9061 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.7629, allocations: 0.6732 MB / 0.9067 GB, free: 120 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.763, allocations: 44 kB / 0.9068 GB, free: 68 kB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.514e-06/0.763, allocations: 0 / 0.9068 GB, free: 68 kB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.002031/0.765, allocations: 0.9944 MB / 0.9077 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.7651, allocations: 63.91 kB / 0.9078 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008418/0.7659, allocations: 0.6372 MB / 0.9084 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.766, allocations: 41.7 kB / 0.9085 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.7664, allocations: 436.8 kB / 0.9089 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.7666, allocations: 257.7 kB / 0.9091 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7669, allocations: 126.3 kB / 0.9093 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002146/0.7671, allocations: 394.6 kB / 0.9096 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.7676, allocations: 277.2 kB / 0.9099 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.7682, allocations: 357 kB / 0.9102 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7693, allocations: 0.6665 MB / 0.9109 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7693, allocations: 0 / 0.9109 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001399/0.7707, allocations: 0.7896 MB / 0.9117 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7708, allocations: 11.98 kB / 0.9117 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.7708, allocations: 0 / 0.9117 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.7708, allocations: 8.812 kB / 0.9117 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.7715, allocations: 139.8 kB / 0.9118 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7715, allocations: 4 kB / 0.9118 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.7722, allocations: 55.61 kB / 0.9119 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.7723, allocations: 28.12 kB / 0.9119 GB, free: 10.72 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.0004681/0.7728, allocations: 289.6 kB / 0.9122 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.7729, allocations: 95.42 kB / 0.9123 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.7745, allocations: 0.7929 MB / 0.913 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7745, allocations: 8 kB / 0.913 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7745, allocations: 0.8125 kB / 0.913 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.7757, allocations: 0.823 MB / 0.9138 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.7786, allocations: 1.853 MB / 0.9157 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7786, allocations: 3.938 kB / 0.9157 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.7795, allocations: 171.8 kB / 0.9158 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.7795, allocations: 4 kB / 0.9158 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.7796, allocations: 16 kB / 0.9158 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.7796, allocations: 3.984 kB / 0.9158 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7796, allocations: 0 / 0.9158 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.7816, allocations: 1.199 MB / 0.917 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.7821, allocations: 248.4 kB / 0.9173 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.7822, allocations: 23.98 kB / 0.9173 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.7829, allocations: 16 kB / 0.9173 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.783, allocations: 44.5 kB / 0.9173 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.7831, allocations: 23.98 kB / 0.9174 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006281/0.7837, allocations: 459 kB / 0.9178 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7837, allocations: 0 / 0.9178 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008465/0.7846, allocations: 339.3 kB / 0.9181 GB, free: 4.184 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.002467/0.787, allocations: 1.847 MB / 0.9199 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.7883, allocations: 0.6835 MB / 0.9206 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7883, allocations: 0 / 0.9206 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.7889, allocations: 371 kB / 0.9209 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.7913, allocations: 0.5397 MB / 0.9215 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.8017, allocations: 6.982 MB / 0.9283 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.8026, allocations: 1.092 MB / 0.9294 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001005/0.8036, allocations: 223.2 kB / 0.9296 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/0.8042, allocations: 363.3 kB / 0.9299 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of SimCode: time 1.112e-06/0.8042, allocations: 0 / 0.9299 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/0.8645, allocations: 25.34 MB / 0.9547 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.63/10.49, allocations: 7.688 kB / 0.9547 GB, free: 14.96 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)