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.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001128, allocations: 185.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009889/0.000989, allocations: 98.39 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.38e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2362, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.28, allocations: 2.192 GB / 3.084 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/6.281, allocations: 86.92 kB / 3.084 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.306/8.586, allocations: 0.6382 GB / 3.722 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.695e-06/8.586, allocations: 0 / 3.722 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.23e-05/8.587, allocations: 24 kB / 3.722 GB, free: 157.2 MB / 0.8698 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.005005/8.592, allocations: 1.4 MB / 3.724 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/8.592, allocations: 12.03 kB / 3.724 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/8.592, allocations: 139.4 kB / 3.724 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/8.595, allocations: 367.7 kB / 3.724 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/8.597, allocations: 0.8357 MB / 3.725 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/8.597, allocations: 69.83 kB / 3.725 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/8.597, allocations: 95.95 kB / 3.725 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/8.598, allocations: 1.012 MB / 3.726 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/8.598, allocations: 11.84 kB / 3.726 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/8.599, allocations: 36 kB / 3.726 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/8.599, allocations: 37.98 kB / 3.726 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/8.6, allocations: 0.8277 MB / 3.727 GB, free: 152.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.00529/8.605, allocations: 4.478 MB / 3.731 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/8.606, allocations: 0.6125 MB / 3.732 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/8.607, allocations: 432 kB / 3.732 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005502/8.607, allocations: 0.6732 MB / 3.733 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/8.607, allocations: 43.12 kB / 3.733 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/8.607, allocations: 0 / 3.733 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001313/8.609, allocations: 0.6976 MB / 3.734 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/8.609, allocations: 59.97 kB / 3.734 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/8.609, allocations: 0.5468 MB / 3.734 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/8.609, allocations: 41.7 kB / 3.734 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/8.61, allocations: 436 kB / 3.735 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/8.61, allocations: 248.3 kB / 3.735 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/8.61, allocations: 20 kB / 3.735 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/8.61, allocations: 382.8 kB / 3.735 GB, free: 143 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/8.61, allocations: 257.5 kB / 3.736 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/8.611, allocations: 360.8 kB / 3.736 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/8.611, allocations: 314 kB / 3.736 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/8.611, allocations: 0 / 3.736 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009725/8.612, allocations: 0.7648 MB / 3.737 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/8.612, allocations: 4 kB / 3.737 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/8.612, allocations: 4 kB / 3.737 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/8.612, allocations: 4 kB / 3.737 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/8.613, allocations: 143.8 kB / 3.737 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/8.613, allocations: 15.94 kB / 3.737 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/8.614, allocations: 103.5 kB / 3.737 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/8.614, allocations: 27.98 kB / 3.737 GB, free: 141 MB / 0.8698 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 () * 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.0001451/8.614, allocations: 136.9 kB / 3.738 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/8.614, allocations: 90.97 kB / 3.738 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/8.615, allocations: 0.7612 MB / 3.738 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/8.615, allocations: 8 kB / 3.738 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/8.615, allocations: 0 / 3.738 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007655/8.616, allocations: 0.7805 MB / 3.739 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/8.619, allocations: 1.82 MB / 3.741 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/8.619, allocations: 4 kB / 3.741 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/8.619, allocations: 179.8 kB / 3.741 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/8.619, allocations: 7.562 kB / 3.741 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/8.619, allocations: 12 kB / 3.741 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/8.619, allocations: 7.953 kB / 3.741 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/8.619, allocations: 0 / 3.741 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/8.621, allocations: 1.223 MB / 3.742 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/8.621, allocations: 255.8 kB / 3.743 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/8.622, allocations: 16 kB / 3.743 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/8.622, allocations: 75.78 kB / 3.743 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/8.622, allocations: 44.45 kB / 3.743 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/8.622, allocations: 35.92 kB / 3.743 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004717/8.623, allocations: 447.1 kB / 3.743 GB, free: 135 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/8.623, allocations: 0 / 3.743 GB, free: 135 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001406/8.624, allocations: 487.2 kB / 3.744 GB, free: 134.5 MB / 0.8698 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 () * 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.003396/8.628, allocations: 3.241 MB / 3.747 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009526/8.629, allocations: 0.6492 MB / 3.747 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/8.629, allocations: 0 / 3.747 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/8.629, allocations: 347.1 kB / 3.748 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/8.632, allocations: 0.5067 MB / 3.748 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/8.635, allocations: 2.011 MB / 3.75 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/8.635, allocations: 1.116 MB / 3.751 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009318/8.636, allocations: 231.1 kB / 3.752 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/8.637, allocations: 363.3 kB / 3.752 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/8.637, allocations: 0 / 3.752 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/8.71, allocations: 53.41 MB / 3.804 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/8.71, allocations: 165.5 kB / 3.804 GB, free: 72.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.907/12.62, allocations: 0 / 3.804 GB, free: 72.45 MB / 0.8698 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)