Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.6 MB / 307.5 MB, free: 5.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.001075/0.001075, allocations: 177 kB / 377.1 MB, free: 1.531 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.809/1.809, allocations: 205.4 MB / 0.6366 GB, free: 8.637 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009988/0.0009989, allocations: 88.59 kB / 0.7509 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.000382, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.349/6.641, allocations: 2.075 GB / 3.063 GB, free: 145.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/6.642, allocations: 96.61 kB / 3.063 GB, free: 145.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.931/9.573, allocations: 0.6551 GB / 3.718 GB, free: 163.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/9.573, allocations: 0 / 3.718 GB, free: 163.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001366/9.573, allocations: 31.62 kB / 3.719 GB, free: 163.5 MB / 0.948 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.005755/9.579, allocations: 1.562 MB / 3.72 GB, free: 162.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/9.579, allocations: 11.83 kB / 3.72 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005391/9.58, allocations: 135.1 kB / 3.72 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/9.583, allocations: 368.1 kB / 3.721 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/9.585, allocations: 0.8266 MB / 3.721 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.43e-05/9.585, allocations: 68.88 kB / 3.721 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/9.586, allocations: 88.48 kB / 3.722 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/9.588, allocations: 1.029 MB / 3.723 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/9.588, allocations: 7.078 kB / 3.723 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/9.588, allocations: 37.95 kB / 3.723 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-05/9.588, allocations: 36.75 kB / 3.723 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/9.59, allocations: 0.8654 MB / 3.723 GB, free: 161.1 MB / 0.948 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.005436/9.595, allocations: 4.442 MB / 3.728 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/9.596, allocations: 0.6403 MB / 3.728 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/9.597, allocations: 0.6787 MB / 3.729 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/9.597, allocations: 39.06 kB / 3.729 GB, free: 156.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 5.641e-06/9.597, allocations: 2.031 kB / 3.729 GB, free: 156.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001797/9.599, allocations: 0.992 MB / 3.73 GB, free: 156.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/9.599, allocations: 61.8 kB / 3.73 GB, free: 156.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/9.599, allocations: 0.5501 MB / 3.731 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/9.599, allocations: 41.2 kB / 3.731 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/9.6, allocations: 422.3 kB / 3.731 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/9.6, allocations: 251.4 kB / 3.731 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/9.6, allocations: 17.94 kB / 3.731 GB, free: 155.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001392/9.6, allocations: 387.6 kB / 3.732 GB, free: 155 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/9.6, allocations: 272.9 kB / 3.732 GB, free: 154.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/9.601, allocations: 373.8 kB / 3.732 GB, free: 154.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/9.601, allocations: 327.6 kB / 3.733 GB, free: 154.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/9.601, allocations: 3.953 kB / 3.733 GB, free: 154.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001142/9.603, allocations: 0.7891 MB / 3.733 GB, free: 154.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/9.603, allocations: 8.312 kB / 3.733 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/9.603, allocations: 0 / 3.733 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/9.603, allocations: 6.594 kB / 3.733 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/9.603, allocations: 150 kB / 3.734 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/9.603, allocations: 7.156 kB / 3.734 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/9.604, allocations: 96.88 kB / 3.734 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/9.604, allocations: 30.11 kB / 3.734 GB, free: 154.2 MB / 0.948 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.000468/9.605, allocations: 283.8 kB / 3.734 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/9.605, allocations: 84.55 kB / 3.734 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/9.606, allocations: 0.8018 MB / 3.735 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/9.606, allocations: 7.312 kB / 3.735 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/9.606, allocations: 0 / 3.735 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00094/9.607, allocations: 0.8107 MB / 3.736 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/9.609, allocations: 0.9691 MB / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/9.609, allocations: 0 / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/9.609, allocations: 176 kB / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/9.609, allocations: 3.875 kB / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/9.61, allocations: 19.22 kB / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/9.61, allocations: 0 / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/9.61, allocations: 0 / 3.737 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/9.611, allocations: 1.268 MB / 3.738 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/9.612, allocations: 250.6 kB / 3.738 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/9.612, allocations: 22.88 kB / 3.738 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/9.613, allocations: 70.44 kB / 3.738 GB, free: 151.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/9.613, allocations: 40.53 kB / 3.738 GB, free: 151.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/9.613, allocations: 28.56 kB / 3.738 GB, free: 151.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005379/9.613, allocations: 440.2 kB / 3.739 GB, free: 151.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/9.613, allocations: 3.781 kB / 3.739 GB, free: 151.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001734/9.615, allocations: 483.3 kB / 3.739 GB, free: 151.4 MB / 0.948 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.004506/9.619, allocations: 3.293 MB / 3.743 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001153/9.621, allocations: 0.6714 MB / 3.743 GB, free: 149.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/9.621, allocations: 0 / 3.743 GB, free: 149.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/9.621, allocations: 376 kB / 3.744 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/9.623, allocations: 0.5067 MB / 3.744 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/9.632, allocations: 6.591 MB / 3.75 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/9.632, allocations: 1.109 MB / 3.752 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001159/9.634, allocations: 226.8 kB / 3.752 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/9.634, allocations: 359.3 kB / 3.752 GB, free: 144.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/9.634, allocations: 0 / 3.752 GB, free: 144.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09041/9.725, allocations: 48.91 MB / 3.8 GB, free: 123.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/9.725, allocations: 185.3 kB / 3.8 GB, free: 123.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.284/14.01, allocations: 0 / 3.8 GB, free: 123.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)