Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",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 2.008/2.008, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001149/0.001149, allocations: 185 kB / 377.1 MB, free: 1.547 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.993/1.993, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.001129/0.00113, allocations: 97.94 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004601, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3239, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.471, allocations: 362 MB / 1.342 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.472, allocations: 92.47 kB / 1.342 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03/1.502, allocations: 12.72 MB / 1.355 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.166e-06/1.502, allocations: 0 / 1.355 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.502, allocations: 0 / 1.355 GB, free: 15.38 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005715/1.502, allocations: 400.5 kB / 1.355 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.502, allocations: 16.02 kB / 1.355 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/1.502, allocations: 31.81 kB / 1.355 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/1.502, allocations: 17.91 kB / 1.355 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/1.503, allocations: 171 kB / 1.355 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.503, allocations: 7.438 kB / 1.355 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/1.503, allocations: 0 / 1.355 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/1.503, allocations: 85.59 kB / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.503, allocations: 0 / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.503, allocations: 4 kB / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.503, allocations: 4 kB / 1.355 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/1.503, allocations: 79.94 kB / 1.355 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/1.504, allocations: 328.1 kB / 1.356 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/1.504, allocations: 98.47 kB / 1.356 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008527/1.505, allocations: 0.7449 MB / 1.356 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.505, allocations: 39.08 kB / 1.356 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/1.505, allocations: 0 / 1.356 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=8): time 0.0004222/1.505, allocations: 151.1 kB / 1.357 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.505, allocations: 55.41 kB / 1.357 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/1.505, allocations: 111.4 kB / 1.357 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.505, allocations: 25.7 kB / 1.357 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/1.506, allocations: 104 kB / 1.357 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.506, allocations: 19.66 kB / 1.357 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/1.506, allocations: 4 kB / 1.357 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.506, allocations: 318.8 kB / 1.357 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/1.506, allocations: 31.98 kB / 1.357 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/1.506, allocations: 49.69 kB / 1.357 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/1.506, allocations: 35.98 kB / 1.357 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.506, allocations: 0 / 1.357 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002464/1.506, allocations: 122.1 kB / 1.357 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.506, allocations: 14.45 kB / 1.357 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.506, allocations: 0 / 1.357 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.506, allocations: 0 / 1.357 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/1.506, allocations: 24.67 kB / 1.357 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.507, allocations: 0 / 1.357 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/1.507, allocations: 9.781 kB / 1.357 GB, free: 12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.507, allocations: 4.812 kB / 1.357 GB, free: 12 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 9.484e-05/1.507, allocations: 125.9 kB / 1.358 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/1.507, allocations: 11.89 kB / 1.358 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/1.507, allocations: 139 kB / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.507, allocations: 4 kB / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.507, allocations: 0.5 kB / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.507, allocations: 0 / 1.358 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.507, allocations: 189.5 kB / 1.358 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.507, allocations: 0.5625 kB / 1.358 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.507, allocations: 23.92 kB / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.507, allocations: 0 / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/1.508, allocations: 4 kB / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.508, allocations: 4.578 kB / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.508, allocations: 0 / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/1.508, allocations: 211.5 kB / 1.358 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/1.508, allocations: 84.95 kB / 1.358 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.508, allocations: 3.984 kB / 1.358 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.508, allocations: 16.62 kB / 1.358 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.508, allocations: 7.938 kB / 1.358 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/1.508, allocations: 4 kB / 1.358 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 5.661e-05/1.508, allocations: 91.27 kB / 1.358 GB, free: 11 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/1.508, allocations: 0 / 1.358 GB, free: 11 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002505/1.508, allocations: 24 kB / 1.358 GB, free: 10.98 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.000793/1.509, allocations: 0.7769 MB / 1.359 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002496/1.51, allocations: 84.75 kB / 1.359 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.51, allocations: 4.062 kB / 1.359 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.51, allocations: 47.97 kB / 1.359 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.51, allocations: 7.891 kB / 1.359 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/1.51, allocations: 291.4 kB / 1.36 GB, free: 9.711 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.511, allocations: 0.6965 MB / 1.36 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.101e-05/1.511, allocations: 13.98 kB / 1.36 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/1.511, allocations: 27.42 kB / 1.36 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of SimCode: time 3.1e-07/1.511, allocations: 0 / 1.36 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/1.525, allocations: 2.313 MB / 1.363 GB, free: 6.793 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.525, allocations: 196 kB / 1.363 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/3.448, allocations: 1.875 kB / 1.363 GB, free: 6.551 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)