Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 175.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009887/0.0009886, allocations: 94.09 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003439, allocations: 8.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2299, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.071/6.301, allocations: 2.192 GB / 3.092 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/6.302, allocations: 89.05 kB / 3.092 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.899/8.201, allocations: 0.6388 GB / 3.731 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.046e-06/8.201, allocations: 0 / 3.731 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001442/8.201, allocations: 28 kB / 3.731 GB, free: 21.79 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.005548/8.207, allocations: 1.562 MB / 3.733 GB, free: 20.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/8.207, allocations: 8.031 kB / 3.733 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005212/8.207, allocations: 151.3 kB / 3.733 GB, free: 20.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/8.21, allocations: 374.2 kB / 3.733 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/8.213, allocations: 0.8401 MB / 3.734 GB, free: 18.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/8.213, allocations: 66 kB / 3.734 GB, free: 18.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/8.213, allocations: 91.89 kB / 3.734 GB, free: 18.61 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/8.216, allocations: 1.043 MB / 3.735 GB, free: 17.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/8.216, allocations: 7.938 kB / 3.735 GB, free: 17.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/8.216, allocations: 39.95 kB / 3.735 GB, free: 17.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/8.216, allocations: 37.94 kB / 3.735 GB, free: 17.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/8.217, allocations: 0.8705 MB / 3.736 GB, free: 16.57 MB / 0.8855 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.005721/8.223, allocations: 4.464 MB / 3.741 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/8.224, allocations: 0.6329 MB / 3.741 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/8.225, allocations: 0.681 MB / 3.742 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/8.225, allocations: 44.28 kB / 3.742 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.437e-06/8.225, allocations: 0 / 3.742 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.001884/8.227, allocations: 0.9786 MB / 3.743 GB, free: 9.246 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/8.227, allocations: 59.97 kB / 3.743 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/8.227, allocations: 0.5582 MB / 3.743 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/8.228, allocations: 41.7 kB / 3.744 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/8.228, allocations: 432.1 kB / 3.744 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/8.228, allocations: 248.3 kB / 3.744 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/8.228, allocations: 16 kB / 3.744 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001233/8.228, allocations: 390.7 kB / 3.745 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/8.229, allocations: 273.2 kB / 3.745 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/8.229, allocations: 368.4 kB / 3.745 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/8.23, allocations: 323.1 kB / 3.745 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/8.23, allocations: 0 / 3.745 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001252/8.231, allocations: 0.7891 MB / 3.746 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/8.231, allocations: 5.875 kB / 3.746 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/8.231, allocations: 8 kB / 3.746 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/8.231, allocations: 4 kB / 3.746 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/8.232, allocations: 143.8 kB / 3.746 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/8.232, allocations: 4 kB / 3.746 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/8.233, allocations: 103.6 kB / 3.747 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/8.233, allocations: 24 kB / 3.747 GB, free: 5.426 MB / 0.8855 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.0005668/8.233, allocations: 297.5 kB / 3.747 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/8.234, allocations: 86.97 kB / 3.747 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/8.235, allocations: 0.7884 MB / 3.748 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/8.235, allocations: 8 kB / 3.748 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.235, allocations: 0 / 3.748 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008903/8.236, allocations: 0.804 MB / 3.748 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/8.237, allocations: 0.9812 MB / 3.749 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/8.237, allocations: 0 / 3.749 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/8.238, allocations: 175.8 kB / 3.75 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/8.238, allocations: 4 kB / 3.75 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/8.238, allocations: 16 kB / 3.75 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/8.238, allocations: 4 kB / 3.75 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8.238, allocations: 4 kB / 3.75 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/8.24, allocations: 1.253 MB / 3.751 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/8.241, allocations: 259.8 kB / 3.751 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/8.241, allocations: 19.94 kB / 3.751 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009737/8.242, allocations: 79.78 kB / 3.751 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/8.242, allocations: 36.5 kB / 3.751 GB, free: 480 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/8.242, allocations: 27.98 kB / 3.751 GB, free: 452 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000606/8.243, allocations: 451 kB / 3.752 GB, free: 8 kB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/8.243, allocations: 4 kB / 3.752 GB, free: 4 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.6112/8.854, allocations: 485.9 kB / 3.752 GB, free: 169.8 MB / 0.8855 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.004438/8.858, allocations: 3.269 MB / 3.755 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001165/8.86, allocations: 0.6654 MB / 3.756 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/8.86, allocations: 0 / 3.756 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/8.86, allocations: 363.6 kB / 3.756 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/8.863, allocations: 0.5178 MB / 3.757 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/8.873, allocations: 6.62 MB / 3.763 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/8.874, allocations: 1.117 MB / 3.764 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001352/8.875, allocations: 222.2 kB / 3.765 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/8.876, allocations: 362.2 kB / 3.765 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/8.876, allocations: 0 / 3.765 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0927/8.968, allocations: 49.18 MB / 3.813 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/8.968, allocations: 197.7 kB / 3.813 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.764/12.73, allocations: 3.938 kB / 3.813 GB, free: 164.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)