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.64/2.64, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001352/0.001352, allocations: 172.5 kB / 371 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.14/2.14, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009787/0.0009786, allocations: 88.59 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007262/0.0007266, allocations: 12.84 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2582, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002975/0.2612, allocations: 1.305 MB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.2657, allocations: 3.05 MB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.2659, allocations: 4 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.2659, allocations: 3.938 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.266, allocations: 11.86 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.2665, allocations: 91.59 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2666, allocations: 63.78 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.2667, allocations: 12.17 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2669, allocations: 31.84 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.958e-05/0.267, allocations: 35.84 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.267, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.2674, allocations: 79.86 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.2674, allocations: 11.92 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.2674, allocations: 33.7 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2676, allocations: 76.09 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2676, allocations: 0 / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2677, allocations: 0 / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2677, allocations: 0 / 0.9832 GB, free: 23.41 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.0006277/0.2683, allocations: 387.1 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2684, allocations: 12.02 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.2684, allocations: 30.56 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2685, allocations: 15.8 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2686, allocations: 178.9 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.2686, allocations: 4 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2686, allocations: 7.938 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2689, allocations: 81.66 kB / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.269, allocations: 0 / 0.9838 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.269, allocations: 4 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.269, allocations: 3.953 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.2693, allocations: 83.88 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.2699, allocations: 332.7 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.2702, allocations: 90.53 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.2704, allocations: 52.84 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009116/0.2713, allocations: 0.7566 MB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.2714, allocations: 34.56 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.036e-06/0.2714, allocations: 0 / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005864/0.272, allocations: 145.7 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.272, allocations: 59.33 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.2721, allocations: 113.8 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2722, allocations: 29.7 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.2722, allocations: 88.05 kB / 0.9856 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2723, allocations: 27.64 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.2723, allocations: 4 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.2724, allocations: 326.8 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2725, allocations: 36.02 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2727, allocations: 41.7 kB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2729, allocations: 40.3 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2729, allocations: 4 kB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003827/0.2733, allocations: 125.5 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2733, allocations: 4 kB / 0.9862 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2733, allocations: 4.031 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2734, allocations: 7.984 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.2736, allocations: 19.98 kB / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2736, allocations: 0 / 0.9862 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2737, allocations: 12.09 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2738, allocations: 0 / 0.9862 GB, free: 19.95 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 8.621e-05/0.2739, allocations: 121.7 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.2739, allocations: 8 kB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.2744, allocations: 133.8 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2744, allocations: 4 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2744, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2744, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.2747, allocations: 205.5 kB / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2747, allocations: 0 / 0.9867 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.2749, allocations: 19.98 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.2749, allocations: 0 / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2749, allocations: 4 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2749, allocations: 0 / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2749, allocations: 3.938 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.2753, allocations: 211.4 kB / 0.9869 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2754, allocations: 88.97 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.2754, allocations: 4 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2756, allocations: 7.984 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.2756, allocations: 4 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2756, allocations: 7.984 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.2757, allocations: 95.7 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2757, allocations: 0 / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003644/0.2761, allocations: 20 kB / 0.9871 GB, free: 18.93 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.0007835/0.2769, allocations: 0.7592 MB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.2773, allocations: 79.95 kB / 0.9879 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2773, allocations: 4.062 kB / 0.9879 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2775, allocations: 47.92 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.2779, allocations: 8.328 kB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.2786, allocations: 301.6 kB / 0.9883 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.2787, allocations: 0.6926 MB / 0.9889 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.2789, allocations: 8.797 kB / 0.9889 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.279, allocations: 23.42 kB / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.031e-06/0.279, allocations: 0 / 0.989 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3052, allocations: 1.958 MB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.3056, allocations: 216 kB / 0.9911 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.066, allocations: 0 / 0.9911 GB, free: 14.88 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)