Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.785/1.785, allocations: 288.4 MB / 303.3 MB, free: 8.086 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.001177/0.001177, allocations: 184.5 kB / 372 MB, free: 10.23 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.758/1.758, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.0008849/0.0008849, allocations: 97.03 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005325, allocations: 16.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2966, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00196/0.2986, allocations: 1.301 MB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3016, allocations: 3.069 MB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.3017, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3017, allocations: 3.938 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.3018, allocations: 7.938 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.3022, allocations: 87.58 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.3023, allocations: 71.78 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.3024, allocations: 8.172 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.3025, allocations: 31.86 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.3026, allocations: 39.83 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3027, allocations: 4 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.3029, allocations: 67.88 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.3029, allocations: 19.91 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.303, allocations: 37.7 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3031, allocations: 72.09 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3031, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3031, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3031, allocations: 0 / 0.9844 GB, free: 22.68 MB / 0.6198 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.0005204/0.3037, allocations: 383.1 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3037, allocations: 12.03 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.3038, allocations: 38.5 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.3038, allocations: 11.86 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3039, allocations: 167 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3039, allocations: 7.938 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.304, allocations: 7.984 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3042, allocations: 85.64 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3042, allocations: 0 / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3042, allocations: 0 / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3042, allocations: 4 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.3044, allocations: 95.83 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.3049, allocations: 320.8 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3051, allocations: 94.55 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.3052, allocations: 48.83 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.3058, allocations: 0.7527 MB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3059, allocations: 46.61 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3059, allocations: 3.938 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.3062, allocations: 141.5 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3063, allocations: 55.41 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.3064, allocations: 125.8 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3064, allocations: 25.7 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3064, allocations: 92.05 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3065, allocations: 27.73 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.3065, allocations: 3.938 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.3065, allocations: 314.8 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.3066, allocations: 39.97 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.3067, allocations: 45.7 kB / 0.9872 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.3068, allocations: 35.98 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3068, allocations: 3.953 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000211/0.307, allocations: 133.8 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3071, allocations: 4 kB / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3071, allocations: 0 / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3071, allocations: 0 / 0.9874 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3072, allocations: 19.98 kB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3072, allocations: 8.031 kB / 0.9874 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.3073, allocations: 11.89 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.3073, allocations: 4 kB / 0.9874 GB, free: 19.2 MB / 0.6198 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 7.089e-05/0.3074, allocations: 113.8 kB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3074, allocations: 7.891 kB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3077, allocations: 137.9 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3077, allocations: 0 / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3077, allocations: 192 / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3077, allocations: 0 / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.3079, allocations: 193.5 kB / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3079, allocations: 0 / 0.9878 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.308, allocations: 23.94 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.308, allocations: 4 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.308, allocations: 7.938 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.308, allocations: 3.984 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3081, allocations: 0 / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3083, allocations: 215.3 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.3083, allocations: 81.02 kB / 0.9882 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3084, allocations: 11.95 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.3085, allocations: 4 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3085, allocations: 7.984 kB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3085, allocations: 0 / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.3086, allocations: 91.27 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3086, allocations: 0 / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002251/0.3088, allocations: 24 kB / 0.9883 GB, free: 18.2 MB / 0.6198 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.0005217/0.3093, allocations: 0.7632 MB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3096, allocations: 79.95 kB / 0.9891 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3096, allocations: 0 / 0.9891 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.3097, allocations: 55.97 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.31, allocations: 12.98 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.3105, allocations: 293.7 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3107, allocations: 0.6926 MB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.3107, allocations: 8.75 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.3108, allocations: 23.42 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3108, allocations: 0 / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.3235, allocations: 1.97 MB / 0.9921 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.3237, allocations: 216.6 kB / 0.9923 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.039, allocations: 0 / 0.9923 GB, free: 14.14 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)