Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.608/2.608, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001471/0.001471, allocations: 172.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001048/0.001047, allocations: 93.33 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.647e-05, allocations: 4 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8039, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.006/6.81, allocations: 2.073 GB / 3.036 GB, free: 45.49 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/6.81, allocations: 85.91 kB / 3.037 GB, free: 45.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.617/10.43, allocations: 0.6475 GB / 3.684 GB, free: 145 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/10.43, allocations: 0 / 3.684 GB, free: 145 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001069/10.43, allocations: 32 kB / 3.684 GB, free: 145 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.005478/10.43, allocations: 1.392 MB / 3.685 GB, free: 143.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/10.43, allocations: 8.031 kB / 3.685 GB, free: 143.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/10.44, allocations: 366.3 kB / 3.686 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/10.44, allocations: 0.8207 MB / 3.687 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/10.44, allocations: 31.92 kB / 3.687 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/10.44, allocations: 63.91 kB / 3.687 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001977/10.44, allocations: 0.7341 MB / 3.687 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/10.44, allocations: 0.8834 MB / 3.688 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/10.44, allocations: 4 kB / 3.688 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/10.44, allocations: 0 / 3.688 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/10.44, allocations: 37.98 kB / 3.688 GB, free: 140.5 MB / 0.948 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.007216/10.45, allocations: 4.336 MB / 3.693 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/10.45, allocations: 0.6063 MB / 3.693 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/10.45, allocations: 430.3 kB / 3.694 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/10.45, allocations: 0.6771 MB / 3.694 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/10.45, allocations: 39.12 kB / 3.694 GB, free: 133.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/10.45, allocations: 0 / 3.694 GB, free: 133.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002213/10.46, allocations: 0.7248 MB / 3.695 GB, free: 133.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/10.46, allocations: 63.97 kB / 3.695 GB, free: 133.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/10.46, allocations: 479.6 kB / 3.695 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/10.46, allocations: 25.7 kB / 3.695 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/10.46, allocations: 428 kB / 3.696 GB, free: 132.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/10.46, allocations: 240.4 kB / 3.696 GB, free: 132 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/10.46, allocations: 0 / 3.696 GB, free: 132 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/10.46, allocations: 382.8 kB / 3.696 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/10.46, allocations: 269.5 kB / 3.697 GB, free: 131.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/10.46, allocations: 364.4 kB / 3.697 GB, free: 130.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/10.46, allocations: 340.3 kB / 3.697 GB, free: 130.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/10.46, allocations: 0 / 3.697 GB, free: 130.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001936/10.46, allocations: 0.7648 MB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/10.46, allocations: 8.188 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.46, allocations: 7.922 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/10.46, allocations: 8 kB / 3.698 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/10.46, allocations: 155.8 kB / 3.698 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/10.46, allocations: 4 kB / 3.698 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/10.47, allocations: 83.47 kB / 3.698 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/10.47, allocations: 24 kB / 3.698 GB, free: 129.5 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 () * 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.0002106/10.47, allocations: 108.9 kB / 3.699 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00189/10.47, allocations: 0.7015 MB / 3.699 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/10.47, allocations: 83.05 kB / 3.699 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/10.47, allocations: 0.7728 MB / 3.7 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/10.47, allocations: 8 kB / 3.7 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/10.47, allocations: 0 / 3.7 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001514/10.47, allocations: 0.8078 MB / 3.701 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/10.48, allocations: 1.736 MB / 3.703 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/10.48, allocations: 7.953 kB / 3.703 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/10.48, allocations: 183.8 kB / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/10.48, allocations: 0 / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/10.48, allocations: 15.98 kB / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/10.48, allocations: 0 / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/10.48, allocations: 0 / 3.703 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/10.48, allocations: 1.272 MB / 3.704 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/10.48, allocations: 251.8 kB / 3.704 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/10.48, allocations: 3.984 kB / 3.704 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/10.48, allocations: 59.84 kB / 3.704 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/10.48, allocations: 40.45 kB / 3.704 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/10.48, allocations: 27.98 kB / 3.704 GB, free: 123.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006606/10.48, allocations: 379.2 kB / 3.705 GB, free: 123 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/10.48, allocations: 3.938 kB / 3.705 GB, free: 122.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001719/10.48, allocations: 423.1 kB / 3.705 GB, free: 122.5 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 () * 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.005269/10.49, allocations: 3.482 MB / 3.709 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001523/10.49, allocations: 0.6505 MB / 3.709 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/10.49, allocations: 3.938 kB / 3.709 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/10.49, allocations: 362.3 kB / 3.709 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/10.5, allocations: 478.6 kB / 3.71 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/10.5, allocations: 1.954 MB / 3.712 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/10.5, allocations: 1.108 MB / 3.713 GB, free: 114.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001699/10.5, allocations: 222.8 kB / 3.713 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/10.51, allocations: 359.3 kB / 3.713 GB, free: 113.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/10.51, allocations: 0 / 3.713 GB, free: 113.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/10.61, allocations: 34.95 MB / 3.748 GB, free: 78.96 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000394/10.61, allocations: 156.7 kB / 3.748 GB, free: 78.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/14.55, allocations: 0 / 3.748 GB, free: 78.76 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)