Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.00114, allocations: 182.1 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 91.8 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.000383, allocations: 15.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6876/0.8985, allocations: 183.8 MB / 1.159 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.9105, allocations: 6.856 MB / 1.166 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.9128, allocations: 28.31 kB / 1.166 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.9149, allocations: 474.2 kB / 1.166 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007522/0.9225, allocations: 1.718 MB / 1.168 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.9263, allocations: 0.8689 MB / 1.169 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006125/0.9324, allocations: 3.468 MB / 1.172 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.9343, allocations: 0.6769 MB / 1.173 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.9371, allocations: 0.869 MB / 1.174 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.9398, allocations: 0.923 MB / 1.175 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.9401, allocations: 52.72 kB / 1.175 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.9445, allocations: 1.054 MB / 1.176 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.9453, allocations: 372.6 kB / 1.176 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008202/0.9461, allocations: 268.2 kB / 1.176 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.9496, allocations: 1.603 MB / 1.178 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9496, allocations: 0 / 1.178 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9496, allocations: 4 kB / 1.178 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.9497, allocations: 0 / 1.178 GB, free: 6.586 MB / 0.7136 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.003805/0.9535, allocations: 1.411 MB / 1.179 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.9535, allocations: 15.77 kB / 1.179 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.9537, allocations: 135.8 kB / 1.179 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.9563, allocations: 377.3 kB / 1.18 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.9578, allocations: 0.7726 MB / 1.181 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.9578, allocations: 66.59 kB / 1.181 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.958, allocations: 85.19 kB / 1.181 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.9598, allocations: 1.034 MB / 1.182 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.9599, allocations: 5.734 kB / 1.182 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.96, allocations: 33.16 kB / 1.182 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.96, allocations: 49.45 kB / 1.182 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.9616, allocations: 0.872 MB / 1.183 GB, free: 3.453 MB / 0.7136 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.005883/0.9675, allocations: 4.279 MB / 1.187 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.9687, allocations: 0.6998 MB / 1.188 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.9695, allocations: 449.1 kB / 1.188 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/0.9702, allocations: 0.6824 MB / 1.189 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.9703, allocations: 52.53 kB / 1.189 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/0.9703, allocations: 0 / 1.189 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.002133/0.9724, allocations: 0.9804 MB / 1.19 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.9725, allocations: 59.62 kB / 1.19 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.9734, allocations: 0.6248 MB / 1.19 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.9735, allocations: 40.61 kB / 1.19 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.9738, allocations: 432.2 kB / 1.191 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.9742, allocations: 246.3 kB / 1.191 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.9742, allocations: 14.69 kB / 1.191 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.9744, allocations: 383.5 kB / 1.191 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.975, allocations: 273.6 kB / 1.192 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.9755, allocations: 368.8 kB / 1.192 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.9761, allocations: 328.5 kB / 1.192 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9761, allocations: 1.906 kB / 1.192 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001424/0.9775, allocations: 0.7896 MB / 1.193 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.9776, allocations: 3.188 kB / 1.193 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9776, allocations: 6.688 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.9776, allocations: 4.875 kB / 1.193 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.9783, allocations: 144.5 kB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.9783, allocations: 9.141 kB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.9794, allocations: 98.45 kB / 1.193 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.9795, allocations: 20.69 kB / 1.193 GB, free: 11.23 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000504/0.98, allocations: 292.6 kB / 1.194 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9802, allocations: 80.75 kB / 1.194 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.9816, allocations: 0.7933 MB / 1.194 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.9816, allocations: 10.06 kB / 1.194 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.9816, allocations: 0 / 1.194 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.9827, allocations: 0.8103 MB / 1.195 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.986, allocations: 1.851 MB / 1.197 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.986, allocations: 3.938 kB / 1.197 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/0.9869, allocations: 174.6 kB / 1.197 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.987, allocations: 2.562 kB / 1.197 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.654e-05/0.987, allocations: 21.83 kB / 1.197 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.9871, allocations: 2.844 kB / 1.197 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9871, allocations: 0 / 1.197 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.9891, allocations: 1.269 MB / 1.198 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/0.9896, allocations: 245.1 kB / 1.199 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.9898, allocations: 17.19 kB / 1.199 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.9908, allocations: 73.03 kB / 1.199 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.9909, allocations: 48.59 kB / 1.199 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.991, allocations: 23.92 kB / 1.199 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006471/0.9917, allocations: 442.3 kB / 1.199 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9917, allocations: 0 / 1.199 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001078/0.9928, allocations: 338.6 kB / 1.2 GB, free: 7.312 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00246/0.9952, allocations: 1.908 MB / 1.201 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.9965, allocations: 0.6728 MB / 1.202 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.9965, allocations: 6.906 kB / 1.202 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.9971, allocations: 366.7 kB / 1.203 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1, allocations: 0.5256 MB / 1.203 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.011, allocations: 5.75 MB / 1.209 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/1.011, allocations: 1.085 MB / 1.21 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001231/1.013, allocations: 227.1 kB / 1.21 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/1.013, allocations: 355.3 kB / 1.21 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/1.013, allocations: 0 / 1.21 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/1.066, allocations: 25.04 MB / 1.235 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/1.067, allocations: 213.6 kB / 1.235 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/3.977, allocations: 0 / 1.235 GB, free: 4.59 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)