Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.392/2.392, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001405/0.001404, allocations: 184.7 kB / 360.6 MB, free: 7.285 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.084/2.084, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001061/0.00106, allocations: 88.62 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.531e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.809, allocations: 115.2 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.871/6.681, allocations: 2.087 GB / 3.05 GB, free: 31.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.681, allocations: 91.11 kB / 3.05 GB, free: 31.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.552/16.23, allocations: 1.71 GB / 4.76 GB, free: 90.87 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.244e-06/16.23, allocations: 2.844 kB / 4.76 GB, free: 90.87 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003424/16.23, allocations: 75.72 kB / 4.76 GB, free: 90.86 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01969/16.25, allocations: 3.539 MB / 4.764 GB, free: 89.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/16.25, allocations: 11.31 kB / 4.764 GB, free: 89.41 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/16.26, allocations: 0.8943 MB / 4.765 GB, free: 89.25 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00771/16.27, allocations: 1.88 MB / 4.766 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/16.27, allocations: 82.69 kB / 4.767 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/16.27, allocations: 155.3 kB / 4.767 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009909/16.28, allocations: 2.993 MB / 4.77 GB, free: 88.69 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/16.29, allocations: 2.838 MB / 4.772 GB, free: 88.38 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/16.29, allocations: 14.25 kB / 4.772 GB, free: 88.37 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005237/16.29, allocations: 3.562 kB / 4.772 GB, free: 88.37 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/16.29, allocations: 119.7 kB / 4.773 GB, free: 88.36 MB / 0.9792 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.028/16.32, allocations: 12.11 MB / 4.784 GB, free: 82.12 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007526/16.33, allocations: 3.772 MB / 4.788 GB, free: 81 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004589/16.33, allocations: 1.711 MB / 4.79 GB, free: 80.97 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/16.34, allocations: 1.499 MB / 4.791 GB, free: 79.38 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/16.34, allocations: 66.06 kB / 4.791 GB, free: 79.33 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=278): time 5.491e-06/16.34, allocations: 0 / 4.791 GB, free: 79.33 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278): time 0.01053/16.35, allocations: 2.814 MB / 4.794 GB, free: 79.09 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/16.35, allocations: 82.31 kB / 4.794 GB, free: 79.03 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/16.35, allocations: 1.006 MB / 4.795 GB, free: 78.88 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0007362/16.35, allocations: 25.7 kB / 4.795 GB, free: 78.85 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009901/16.35, allocations: 0.9849 MB / 4.796 GB, free: 78.44 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/16.35, allocations: 0.907 MB / 4.797 GB, free: 77.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/16.35, allocations: 2.156 kB / 4.797 GB, free: 77.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002876/16.35, allocations: 398.1 kB / 4.797 GB, free: 77.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/16.36, allocations: 1.063 MB / 4.798 GB, free: 77.51 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/16.36, allocations: 1.371 MB / 4.8 GB, free: 77.24 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/16.37, allocations: 1.401 MB / 4.801 GB, free: 77.19 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-05/16.37, allocations: 3.953 kB / 4.801 GB, free: 77.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01058/16.38, allocations: 2.965 MB / 4.804 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/16.38, allocations: 10.11 kB / 4.804 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/16.38, allocations: 6.656 kB / 4.804 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/16.38, allocations: 16.09 kB / 4.804 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/16.38, allocations: 0.5315 MB / 4.804 GB, free: 76.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.453e-05/16.38, allocations: 18.22 kB / 4.805 GB, free: 76.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005499/16.39, allocations: 280.6 kB / 4.805 GB, free: 76.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008221/16.39, allocations: 94.05 kB / 4.805 GB, free: 76.81 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0008001/16.39, allocations: 144.9 kB / 4.805 GB, free: 76.66 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009415/16.4, allocations: 2.788 MB / 4.808 GB, free: 76.26 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/16.4, allocations: 218.6 kB / 4.808 GB, free: 76.15 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/16.41, allocations: 3.083 MB / 4.811 GB, free: 75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/16.41, allocations: 28.56 kB / 4.811 GB, free: 75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/16.41, allocations: 0 / 4.811 GB, free: 75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009027/16.42, allocations: 2.7 MB / 4.814 GB, free: 73.94 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.02185/16.44, allocations: 6.297 MB / 4.82 GB, free: 71.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/16.44, allocations: 0 / 4.82 GB, free: 71.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005822/16.45, allocations: 0.5742 MB / 4.82 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.245e-05/16.45, allocations: 9.062 kB / 4.82 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006653/16.45, allocations: 32.98 kB / 4.82 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/16.45, allocations: 9.094 kB / 4.82 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/16.45, allocations: 3.703 kB / 4.82 GB, free: 71.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/16.46, allocations: 4.836 MB / 4.825 GB, free: 69.19 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/16.47, allocations: 0.6266 MB / 4.826 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009014/16.47, allocations: 7.719 kB / 4.826 GB, free: 68.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005057/16.47, allocations: 181.2 kB / 4.826 GB, free: 68.79 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008123/16.47, allocations: 160.7 kB / 4.826 GB, free: 68.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004128/16.47, allocations: 97.22 kB / 4.826 GB, free: 68.74 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001775/16.47, allocations: 0.7643 MB / 4.827 GB, free: 68.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.11e-07/16.47, allocations: 0 / 4.827 GB, free: 68.41 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005609/16.48, allocations: 1.161 MB / 4.828 GB, free: 68.08 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.02224/16.5, allocations: 9.988 MB / 4.838 GB, free: 61.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007006/16.51, allocations: 2.704 MB / 4.84 GB, free: 59.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/16.51, allocations: 0 / 4.84 GB, free: 59.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/16.51, allocations: 1.466 MB / 4.842 GB, free: 58.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01008/16.52, allocations: 1.134 MB / 4.843 GB, free: 57.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/16.54, allocations: 5.666 MB / 4.848 GB, free: 52.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/16.54, allocations: 1.94 MB / 4.85 GB, free: 51.15 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005982/16.55, allocations: 0.8599 MB / 4.851 GB, free: 50.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/16.55, allocations: 1.09 MB / 4.852 GB, free: 49.55 MB / 0.9792 GB Notification: Performance of SimCode: time 1.934e-06/16.55, allocations: 0 / 4.852 GB, free: 49.55 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/17.68, allocations: 91.51 MB / 4.942 GB, free: 124.6 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/17.68, allocations: 159.7 kB / 4.942 GB, free: 124.4 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/24.4, allocations: 0 / 4.942 GB, free: 124.4 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)