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 1.548/1.548, allocations: 287.4 MB / 302.6 MB, free: 8.184 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.0009999/0.001, allocations: 187.4 kB / 371.1 MB, free: 10.83 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.443/1.443, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007989/0.0007988, allocations: 87.75 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 13.38 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001628/0.2154, allocations: 1.316 MB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.2181, allocations: 3.046 MB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.2182, allocations: 4 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.2183, allocations: 3.938 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.155e-05/0.2183, allocations: 11.86 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2187, allocations: 95.59 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.2188, allocations: 67.72 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.2189, allocations: 8.188 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.219, allocations: 35.83 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.219, allocations: 31.91 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2191, allocations: 8 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.2193, allocations: 79.8 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2193, allocations: 7.984 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.2193, allocations: 37.64 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2195, allocations: 76.09 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2195, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2195, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2195, allocations: 0 / 0.9834 GB, free: 23.26 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.0004493/0.22, allocations: 383.3 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.22, allocations: 12.03 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.22, allocations: 30.75 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.2201, allocations: 8.844 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.2202, allocations: 184.2 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2202, allocations: 11.92 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2202, allocations: 3.938 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2204, allocations: 89.64 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2204, allocations: 0 / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2204, allocations: 0 / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2204, allocations: 4 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2206, allocations: 79.94 kB / 0.9842 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.221, allocations: 324.7 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2212, allocations: 90.55 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.2213, allocations: 52.83 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.2219, allocations: 0.7565 MB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.222, allocations: 38.5 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.222, allocations: 288 / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003652/0.2223, allocations: 145.6 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.2224, allocations: 59.34 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.2224, allocations: 117.8 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2225, allocations: 25.7 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.2225, allocations: 88.14 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.2225, allocations: 31.55 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.2225, allocations: 8 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.2226, allocations: 314.8 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.2227, allocations: 35.91 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.2228, allocations: 49.64 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2229, allocations: 93.67 kB / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2229, allocations: 0 / 0.9864 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002036/0.2231, allocations: 121.5 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2232, allocations: 11.94 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2232, allocations: 0 / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2232, allocations: 0 / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2233, allocations: 19.98 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2233, allocations: 0 / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.2234, allocations: 11.98 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2234, allocations: 4.031 kB / 0.9865 GB, free: 19.75 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 5.823e-05/0.2235, allocations: 121.8 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.2235, allocations: 11.84 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.2238, allocations: 134.3 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2238, allocations: 4 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2238, allocations: 0 / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2238, allocations: 0 / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.224, allocations: 189.6 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.224, allocations: 0 / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.2241, allocations: 23.98 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2241, allocations: 3.938 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2241, allocations: 0 / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2241, allocations: 4.062 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2241, allocations: 19.92 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.2243, allocations: 207.4 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.2244, allocations: 85.14 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2244, allocations: 0 / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.2245, allocations: 19.94 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.2245, allocations: 7.969 kB / 0.9873 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2246, allocations: 4 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.2246, allocations: 91.27 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2246, allocations: 0 / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002187/0.2248, allocations: 20 kB / 0.9874 GB, free: 18.72 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.0004691/0.2253, allocations: 0.763 MB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2255, allocations: 83.95 kB / 0.9883 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2255, allocations: 4 kB / 0.9883 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.649e-05/0.2256, allocations: 43.91 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.2259, allocations: 9.969 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.2264, allocations: 301.9 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2265, allocations: 0.6848 MB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.407e-05/0.2266, allocations: 11.98 kB / 0.9893 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.2266, allocations: 20.19 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2266, allocations: 0 / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2/0.4267, allocations: 1.949 MB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.427, allocations: 211.1 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.183, allocations: 6.672 kB / 0.9914 GB, free: 14.7 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)