Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.795/2.795, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001551/0.001551, allocations: 190.4 kB / 370.8 MB, free: 10.84 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.157/2.157, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001179/0.001178, allocations: 88.03 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005278, allocations: 13.28 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002774/0.2732, allocations: 1.282 MB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005906/0.2792, allocations: 2.843 MB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2793, allocations: 4 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.2794, allocations: 3.938 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2795, allocations: 15.97 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2802, allocations: 99.67 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.2804, allocations: 39.95 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2805, allocations: 16.17 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2807, allocations: 35.84 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2809, allocations: 31.89 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.2809, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005015/0.2814, allocations: 79.81 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.2815, allocations: 15.97 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.2816, allocations: 37.64 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2819, allocations: 72.05 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2819, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2819, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2819, allocations: 4 kB / 0.9828 GB, free: 23.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.000798/0.2827, allocations: 380.8 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.2828, allocations: 16.02 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.2829, allocations: 34.55 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2829, allocations: 15.86 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2831, allocations: 171 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2831, allocations: 7.938 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.2832, allocations: 4 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.2836, allocations: 81.64 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2836, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.2836, allocations: 4 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2837, allocations: 3.953 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.2842, allocations: 87.94 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.285, allocations: 320.7 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2855, allocations: 102.5 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.2868, allocations: 0.7448 MB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2868, allocations: 30.56 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 6.142e-06/0.2869, allocations: 112 / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000838/0.2877, allocations: 161.7 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2878, allocations: 51.41 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2879, allocations: 121.8 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.288, allocations: 25.7 kB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.2881, allocations: 88.05 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2881, allocations: 31.64 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.2881, allocations: 0 / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.2882, allocations: 322.8 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.2885, allocations: 31.98 kB / 0.9855 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.2888, allocations: 45.7 kB / 0.9855 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.289, allocations: 47.88 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.289, allocations: 0 / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000563/0.2896, allocations: 117.6 kB / 0.9857 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.2897, allocations: 10.38 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2897, allocations: 4 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2897, allocations: 3.938 kB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.29, allocations: 27.91 kB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2901, allocations: 3.984 kB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.2903, allocations: 11.91 kB / 0.9858 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2903, allocations: 0 / 0.9858 GB, free: 20.27 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 0.0001215/0.2904, allocations: 121.8 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.2905, allocations: 4 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.2912, allocations: 133.8 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2912, allocations: 4 kB / 0.986 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2912, allocations: 4 kB / 0.986 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2912, allocations: 0 / 0.986 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.2916, allocations: 185.6 kB / 0.9862 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2916, allocations: 7.938 kB / 0.9862 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.2919, allocations: 23.98 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2919, allocations: 0 / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.292, allocations: 0 / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.292, allocations: 3.938 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.292, allocations: 0 / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.2926, allocations: 215.8 kB / 0.9864 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2927, allocations: 88.97 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.2927, allocations: 8 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.293, allocations: 7.984 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.2931, allocations: 8 kB / 0.9865 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.2931, allocations: 7.984 kB / 0.9865 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.2932, allocations: 87.72 kB / 0.9866 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2932, allocations: 0 / 0.9866 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000612/0.2938, allocations: 23.98 kB / 0.9866 GB, free: 19.25 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.001018/0.2949, allocations: 0.7594 MB / 0.9874 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.2954, allocations: 83.97 kB / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2954, allocations: 0 / 0.9875 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.2957, allocations: 55.84 kB / 0.9875 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2961, allocations: 4.328 kB / 0.9875 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2972, allocations: 289.9 kB / 0.9878 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2975, allocations: 0.6926 MB / 0.9885 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.2977, allocations: 12.17 kB / 0.9885 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.2978, allocations: 19.44 kB / 0.9885 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.763e-06/0.2978, allocations: 0 / 0.9885 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3233, allocations: 1.957 MB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.3236, allocations: 198.4 kB / 0.9906 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/2.796, allocations: 4.062 kB / 0.9906 GB, free: 15.23 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)