Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 180.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.256e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.344, allocations: 353.5 MB / 1.237 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.345, allocations: 84.39 kB / 1.237 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02953/1.374, allocations: 12.33 MB / 1.249 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.512e-06/1.374, allocations: 0 / 1.249 GB, free: 1.309 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.217e-06/1.374, allocations: 0 / 1.249 GB, free: 1.309 MB / 0.8542 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.000559/1.375, allocations: 382.2 kB / 1.25 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/1.375, allocations: 16.03 kB / 1.25 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/1.375, allocations: 34.55 kB / 1.25 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/1.375, allocations: 7.953 kB / 1.25 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.375, allocations: 174.9 kB / 1.25 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/1.375, allocations: 8.219 kB / 1.25 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.375, allocations: 3.938 kB / 1.25 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/1.376, allocations: 66.08 kB / 1.25 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.376, allocations: 0 / 1.25 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/1.376, allocations: 8 kB / 1.25 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.376, allocations: 3.984 kB / 1.25 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.376, allocations: 59.97 kB / 1.25 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/1.377, allocations: 324.7 kB / 1.25 GB, free: 96 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/1.377, allocations: 82.56 kB / 1.25 GB, free: 4 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6329/2.01, allocations: 29.44 kB / 1.25 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/2.011, allocations: 0.7594 MB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.011, allocations: 37.31 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/2.011, allocations: 0 / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003115/2.011, allocations: 90.17 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/2.011, allocations: 52.62 kB / 1.251 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/2.011, allocations: 110.3 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/2.011, allocations: 30.33 kB / 1.251 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/2.011, allocations: 95.56 kB / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/2.011, allocations: 26.66 kB / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/2.011, allocations: 1.531 kB / 1.251 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/2.012, allocations: 320.3 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/2.012, allocations: 20.48 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/2.012, allocations: 39.3 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.187e-05/2.012, allocations: 23.62 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/2.012, allocations: 0 / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001809/2.012, allocations: 100 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/2.012, allocations: 4.75 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/2.012, allocations: 1.094 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/2.012, allocations: 2.469 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/2.012, allocations: 20.19 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/2.012, allocations: 4.938 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/2.012, allocations: 11.34 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/2.012, allocations: 7.406 kB / 1.252 GB, free: 305.9 MB / 0.8542 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 () * 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 6.273e-05/2.012, allocations: 106.4 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/2.012, allocations: 12.52 kB / 1.252 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/2.013, allocations: 106.8 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/2.013, allocations: 1.219 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/2.013, allocations: 0 / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.013, allocations: 2.047 kB / 1.252 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/2.013, allocations: 194.6 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/2.013, allocations: 0 / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/2.013, allocations: 22.22 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.013, allocations: 0.5625 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/2.013, allocations: 5.672 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/2.013, allocations: 4.906 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.013, allocations: 0.5156 kB / 1.252 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/2.013, allocations: 181.6 kB / 1.253 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/2.013, allocations: 87.7 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/2.013, allocations: 2.812 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/2.014, allocations: 11.33 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/2.014, allocations: 8 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/2.014, allocations: 5.75 kB / 1.253 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.353e-05/2.014, allocations: 91.62 kB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.014, allocations: 1.344 kB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002749/2.014, allocations: 22.47 kB / 1.253 GB, free: 305.2 MB / 0.8542 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 () * 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.0006028/2.015, allocations: 0.7572 MB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001893/2.015, allocations: 61.8 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/2.015, allocations: 1.844 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/2.015, allocations: 32.31 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/2.015, allocations: 9.875 kB / 1.254 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/2.016, allocations: 143.1 kB / 1.254 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/2.016, allocations: 0.6979 MB / 1.255 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.105e-05/2.016, allocations: 11.77 kB / 1.255 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/2.016, allocations: 22.14 kB / 1.255 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/2.016, allocations: 0 / 1.255 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/2.031, allocations: 2.392 MB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/2.032, allocations: 181.4 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.752, allocations: 4 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)