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.863/2.863, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001645/0.001644, allocations: 179.3 kB / 370.8 MB, free: 10.86 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.091/2.091, allocations: 205.4 MB / 0.6295 GB, free: 10.53 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.001171/0.00117, allocations: 104.7 kB / 0.7428 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004651, allocations: 20.03 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.66/6.879, allocations: 2.088 GB / 3.066 GB, free: 186.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/6.879, allocations: 89.2 kB / 3.066 GB, free: 186.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.535/16.41, allocations: 1.73 GB / 4.796 GB, free: 104.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.705e-06/16.41, allocations: 0 / 4.796 GB, free: 104.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003136/16.41, allocations: 71.48 kB / 4.796 GB, free: 104.4 MB / 1.01 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.02169/16.44, allocations: 3.956 MB / 4.8 GB, free: 103.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/16.44, allocations: 11.45 kB / 4.8 GB, free: 103.3 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/16.44, allocations: 374.4 kB / 4.8 GB, free: 103.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/16.45, allocations: 0.9019 MB / 4.801 GB, free: 103.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007048/16.45, allocations: 1.878 MB / 4.803 GB, free: 102.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/16.46, allocations: 201.8 kB / 4.803 GB, free: 102.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/16.46, allocations: 265.8 kB / 4.803 GB, free: 102.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/16.47, allocations: 3.271 MB / 4.806 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/16.47, allocations: 7.25 kB / 4.806 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004614/16.47, allocations: 109.6 kB / 4.806 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/16.47, allocations: 125.4 kB / 4.806 GB, free: 102.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/16.48, allocations: 3.393 MB / 4.81 GB, free: 102.4 MB / 1.01 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.02651/16.51, allocations: 12.31 MB / 4.822 GB, free: 96.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/16.51, allocations: 3.331 MB / 4.825 GB, free: 95.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/16.52, allocations: 1.493 MB / 4.827 GB, free: 94.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/16.52, allocations: 71.31 kB / 4.827 GB, free: 94.13 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 5.51e-06/16.52, allocations: 0 / 4.827 GB, free: 94.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.012/16.53, allocations: 3.848 MB / 4.83 GB, free: 93.87 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/16.53, allocations: 82.09 kB / 4.83 GB, free: 93.8 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/16.53, allocations: 1.178 MB / 4.832 GB, free: 93.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000746/16.53, allocations: 80.17 kB / 4.832 GB, free: 93.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008113/16.53, allocations: 0.9759 MB / 4.833 GB, free: 93.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/16.53, allocations: 0.9387 MB / 4.834 GB, free: 92.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/16.53, allocations: 57.56 kB / 4.834 GB, free: 92.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000187/16.53, allocations: 398 kB / 4.834 GB, free: 92.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002964/16.54, allocations: 1.079 MB / 4.835 GB, free: 92.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/16.54, allocations: 1.398 MB / 4.836 GB, free: 92.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/16.54, allocations: 1.287 MB / 4.838 GB, free: 92.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/16.54, allocations: 2.062 kB / 4.838 GB, free: 92.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00861/16.55, allocations: 2.952 MB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/16.55, allocations: 8 kB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/16.55, allocations: 7.344 kB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/16.55, allocations: 15.09 kB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004702/16.56, allocations: 0.516 MB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-05/16.56, allocations: 16.62 kB / 4.841 GB, free: 91.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/16.56, allocations: 329.9 kB / 4.841 GB, free: 91.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/16.56, allocations: 96.3 kB / 4.841 GB, free: 91.75 MB / 1.01 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 () * Number of clocked 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.002239/16.57, allocations: 0.645 MB / 4.842 GB, free: 91.63 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009231/16.57, allocations: 230.8 kB / 4.842 GB, free: 91.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009267/16.58, allocations: 3.091 MB / 4.845 GB, free: 91.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/16.58, allocations: 27.41 kB / 4.845 GB, free: 91.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/16.58, allocations: 0 / 4.845 GB, free: 91.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006829/16.58, allocations: 2.622 MB / 4.848 GB, free: 91.1 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/16.6, allocations: 6.156 MB / 4.854 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/16.6, allocations: 3 kB / 4.854 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005382/16.61, allocations: 0.5484 MB / 4.854 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-05/16.61, allocations: 13.08 kB / 4.854 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004833/16.61, allocations: 60.59 kB / 4.855 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/16.61, allocations: 10.97 kB / 4.855 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/16.61, allocations: 0 / 4.855 GB, free: 90.58 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/16.62, allocations: 4.751 MB / 4.859 GB, free: 90.19 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/16.62, allocations: 0.6149 MB / 4.86 GB, free: 89.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009263/16.62, allocations: 47.53 kB / 4.86 GB, free: 89.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004693/16.63, allocations: 223.9 kB / 4.86 GB, free: 89.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/16.63, allocations: 156.6 kB / 4.86 GB, free: 89.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/16.63, allocations: 88.44 kB / 4.86 GB, free: 89.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002033/16.63, allocations: 0.919 MB / 4.861 GB, free: 89.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.603e-06/16.63, allocations: 2.125 kB / 4.861 GB, free: 89.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005504/16.64, allocations: 1.364 MB / 4.863 GB, free: 89.7 MB / 1.01 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 () * Number of clocked 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.02016/16.66, allocations: 9.498 MB / 4.872 GB, free: 86.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007949/16.66, allocations: 2.749 MB / 4.874 GB, free: 86.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/16.66, allocations: 0 / 4.874 GB, free: 86.83 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003993/16.67, allocations: 1.468 MB / 4.876 GB, free: 86.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/16.68, allocations: 1.244 MB / 4.877 GB, free: 86.79 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/16.7, allocations: 11.74 MB / 4.889 GB, free: 80.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/16.7, allocations: 1.948 MB / 4.89 GB, free: 79.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005592/16.71, allocations: 0.8403 MB / 4.891 GB, free: 79.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003337/16.71, allocations: 1.09 MB / 4.892 GB, free: 79.52 MB / 1.01 GB Notification: Performance of SimCode: time 2.234e-06/16.71, allocations: 0 / 4.892 GB, free: 79.52 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/16.96, allocations: 120.9 MB / 5.01 GB, free: 66.87 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/16.96, allocations: 186.3 kB / 5.011 GB, free: 66.63 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/25.07, allocations: 0 / 5.011 GB, free: 66.63 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)