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.614/2.614, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001563/0.001563, allocations: 188.6 kB / 370.8 MB, free: 10.85 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.225/2.225, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001154/0.001154, allocations: 93.97 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006506, allocations: 11.56 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2405, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.751/6.991, allocations: 2.074 GB / 3.052 GB, free: 200.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/6.992, allocations: 90.7 kB / 3.052 GB, free: 200 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.584/10.58, allocations: 0.6551 GB / 3.707 GB, free: 196.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.166e-06/10.58, allocations: 3.188 kB / 3.707 GB, free: 196.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.325e-05/10.58, allocations: 23.09 kB / 3.707 GB, free: 196.2 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.00626/10.58, allocations: 1.568 MB / 3.709 GB, free: 195.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/10.58, allocations: 11.02 kB / 3.709 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004873/10.58, allocations: 135.5 kB / 3.709 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/10.59, allocations: 369.4 kB / 3.709 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/10.59, allocations: 0.8252 MB / 3.71 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/10.59, allocations: 70.52 kB / 3.71 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/10.59, allocations: 88.97 kB / 3.71 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/10.59, allocations: 1.03 MB / 3.711 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/10.59, allocations: 3.375 kB / 3.711 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/10.59, allocations: 40.56 kB / 3.711 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/10.59, allocations: 40.98 kB / 3.711 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/10.59, allocations: 0.8584 MB / 3.712 GB, free: 195 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.007328/10.6, allocations: 4.435 MB / 3.716 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/10.6, allocations: 0.6605 MB / 3.717 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/10.6, allocations: 0.6709 MB / 3.718 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/10.6, allocations: 49.62 kB / 3.718 GB, free: 191.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/10.6, allocations: 6.812 kB / 3.718 GB, free: 191.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00296/10.61, allocations: 0.9801 MB / 3.719 GB, free: 191.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/10.61, allocations: 61.34 kB / 3.719 GB, free: 191.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/10.61, allocations: 0.5416 MB / 3.719 GB, free: 191.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/10.61, allocations: 40.23 kB / 3.719 GB, free: 191.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/10.61, allocations: 427.7 kB / 3.72 GB, free: 191.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/10.61, allocations: 253.8 kB / 3.72 GB, free: 191 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/10.61, allocations: 12.69 kB / 3.72 GB, free: 191 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001397/10.61, allocations: 392.7 kB / 3.72 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007365/10.61, allocations: 273.6 kB / 3.721 GB, free: 190.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/10.61, allocations: 374.6 kB / 3.721 GB, free: 190.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000827/10.61, allocations: 328.7 kB / 3.721 GB, free: 190.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/10.61, allocations: 3.188 kB / 3.721 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002082/10.61, allocations: 0.7875 MB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/10.61, allocations: 3.938 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/10.61, allocations: 7.266 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/10.61, allocations: 3.906 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/10.62, allocations: 146.6 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/10.62, allocations: 10.88 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/10.62, allocations: 95.06 kB / 3.722 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/10.62, allocations: 25.03 kB / 3.722 GB, free: 190.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 () * 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.0007146/10.62, allocations: 288.8 kB / 3.723 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/10.62, allocations: 86.89 kB / 3.723 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/10.62, allocations: 0.7898 MB / 3.724 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/10.62, allocations: 7.844 kB / 3.724 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/10.62, allocations: 3.5 kB / 3.724 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/10.62, allocations: 0.8189 MB / 3.724 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/10.62, allocations: 0.9615 MB / 3.725 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/10.62, allocations: 3.688 kB / 3.725 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/10.63, allocations: 172.7 kB / 3.725 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/10.63, allocations: 3.375 kB / 3.725 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/10.63, allocations: 25.48 kB / 3.726 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.934e-06/10.63, allocations: 0 / 3.726 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/10.63, allocations: 0 / 3.726 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/10.63, allocations: 1.271 MB / 3.727 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/10.63, allocations: 249.6 kB / 3.727 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/10.63, allocations: 14.75 kB / 3.727 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/10.63, allocations: 71.95 kB / 3.727 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/10.63, allocations: 42.98 kB / 3.727 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/10.63, allocations: 28.08 kB / 3.727 GB, free: 189.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007923/10.63, allocations: 440 kB / 3.728 GB, free: 189.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/10.63, allocations: 0 / 3.728 GB, free: 189.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001967/10.63, allocations: 489.7 kB / 3.728 GB, free: 189.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.005621/10.64, allocations: 3.283 MB / 3.731 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001919/10.64, allocations: 0.6777 MB / 3.732 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/10.64, allocations: 3.031 kB / 3.732 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007913/10.64, allocations: 363.8 kB / 3.732 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/10.65, allocations: 0.5132 MB / 3.733 GB, free: 188.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/10.66, allocations: 6.606 MB / 3.739 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/10.66, allocations: 1.105 MB / 3.74 GB, free: 185 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00169/10.66, allocations: 223.4 kB / 3.741 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/10.66, allocations: 359 kB / 3.741 GB, free: 184.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/10.66, allocations: 3.562 kB / 3.741 GB, free: 184.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/10.81, allocations: 48.89 MB / 3.789 GB, free: 177.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/10.81, allocations: 191.2 kB / 3.789 GB, free: 177.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.418/15.23, allocations: 0 / 3.789 GB, free: 177.5 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)