Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007381/0.007382, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005039, allocations: 21.03 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001658/0.2154, allocations: 1.329 MB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2185, allocations: 3.203 MB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.2186, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.2186, allocations: 0 / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2187, allocations: 19.86 kB / 0.7924 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.219, allocations: 99.59 kB / 0.7925 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.2192, allocations: 71.77 kB / 0.7926 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.2192, allocations: 12.19 kB / 0.7926 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2194, allocations: 39.84 kB / 0.7927 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.2195, allocations: 35.89 kB / 0.7927 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.2195, allocations: 4 kB / 0.7927 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.2197, allocations: 91.78 kB / 0.7928 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2198, allocations: 15.92 kB / 0.7928 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.2198, allocations: 53.5 kB / 0.7929 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.22, allocations: 119.8 kB / 0.793 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.22, allocations: 8 kB / 0.793 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.22, allocations: 3.938 kB / 0.793 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2201, allocations: 4 kB / 0.793 GB, free: 6.301 MB / 0.6075 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.0005145/0.2206, allocations: 379.3 kB / 0.7933 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2206, allocations: 12.03 kB / 0.7934 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2207, allocations: 30.75 kB / 0.7934 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2207, allocations: 8.844 kB / 0.7934 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2208, allocations: 176.2 kB / 0.7936 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2208, allocations: 7.938 kB / 0.7936 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2209, allocations: 7.984 kB / 0.7936 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2211, allocations: 81.66 kB / 0.7937 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2211, allocations: 7.938 kB / 0.7937 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2211, allocations: 0 / 0.7937 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2211, allocations: 4 kB / 0.7937 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.2213, allocations: 91.81 kB / 0.7938 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.2217, allocations: 320.8 kB / 0.7941 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.222, allocations: 102.5 kB / 0.7942 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2221, allocations: 52.84 kB / 0.7942 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.2228, allocations: 0.7448 MB / 0.7949 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2228, allocations: 42.48 kB / 0.795 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2228, allocations: 0 / 0.795 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003837/0.2232, allocations: 149.8 kB / 0.7951 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.2233, allocations: 51.41 kB / 0.7952 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.2233, allocations: 121.8 kB / 0.7953 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2234, allocations: 25.7 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.2234, allocations: 92.14 kB / 0.7954 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2234, allocations: 27.55 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.2235, allocations: 17.72 kB / 0.7954 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.2236, allocations: 318.8 kB / 0.7957 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.2237, allocations: 27.98 kB / 0.7958 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.2238, allocations: 53.7 kB / 0.7958 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.224, allocations: 85.62 kB / 0.7959 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.224, allocations: 112 / 0.7959 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002284/0.2242, allocations: 129.5 kB / 0.796 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2242, allocations: 8.125 kB / 0.796 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2242, allocations: 0 / 0.796 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2243, allocations: 7.922 kB / 0.796 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2244, allocations: 27.92 kB / 0.7961 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2244, allocations: 0 / 0.7961 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.2245, allocations: 8.031 kB / 0.7961 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2245, allocations: 4 kB / 0.7961 GB, free: 2.766 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.2246, allocations: 118.5 kB / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2246, allocations: 11.84 kB / 0.7962 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.2249, allocations: 133.9 kB / 0.7963 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2249, allocations: 0 / 0.7963 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2249, allocations: 4 kB / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2249, allocations: 0 / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2251, allocations: 197.5 kB / 0.7965 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2251, allocations: 0 / 0.7965 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.2252, allocations: 15.98 kB / 0.7965 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2252, allocations: 7.938 kB / 0.7965 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2252, allocations: 4 kB / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2252, allocations: 0 / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2252, allocations: 0 / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.2255, allocations: 203.9 kB / 0.7967 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.2255, allocations: 100.9 kB / 0.7968 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2256, allocations: 0 / 0.7968 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.2257, allocations: 7.984 kB / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2257, allocations: 4 kB / 0.7969 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2257, allocations: 7.984 kB / 0.7969 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.2258, allocations: 95.27 kB / 0.797 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2258, allocations: 0 / 0.797 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002374/0.226, allocations: 19.94 kB / 0.797 GB, free: 1.75 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005428/0.2266, allocations: 0.7749 MB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.2268, allocations: 83.89 kB / 0.7978 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2268, allocations: 0 / 0.7978 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.2269, allocations: 51.86 kB / 0.7979 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2272, allocations: 8.062 kB / 0.7979 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.2277, allocations: 289.9 kB / 0.7981 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.2279, allocations: 0.6926 MB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.809e-05/0.228, allocations: 4 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.228, allocations: 23.42 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.228, allocations: 0 / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/0.4008, allocations: 1.967 MB / 0.8008 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.401, allocations: 218.2 kB / 0.801 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.496, allocations: 0 / 0.801 GB, free: 13.68 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)