Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001298/0.001298, allocations: 183.2 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 89.73 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.273e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.266, allocations: 353.7 MB / 1.231 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.266, allocations: 87.88 kB / 1.231 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02767/1.294, allocations: 12.26 MB / 1.243 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.615e-06/1.294, allocations: 0 / 1.243 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.258e-05/1.294, allocations: 4 kB / 1.243 GB, free: 5.762 MB / 0.8542 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.0006324/1.295, allocations: 384.9 kB / 1.243 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/1.295, allocations: 8.031 kB / 1.243 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/1.295, allocations: 4 kB / 1.243 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/1.295, allocations: 190.8 kB / 1.243 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.295, allocations: 0 / 1.243 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.295, allocations: 4.219 kB / 1.243 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001763/1.295, allocations: 53.05 kB / 1.243 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/1.295, allocations: 62.61 kB / 1.244 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.295, allocations: 7.938 kB / 1.244 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/1.295, allocations: 3.984 kB / 1.244 GB, free: 5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.295, allocations: 4 kB / 1.244 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/1.296, allocations: 291.4 kB / 1.244 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/1.296, allocations: 76.06 kB / 1.244 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/1.296, allocations: 32.11 kB / 1.244 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.297, allocations: 0.7632 MB / 1.245 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.297, allocations: 38.5 kB / 1.245 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/1.297, allocations: 0 / 1.245 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004423/1.298, allocations: 106 kB / 1.245 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.298, allocations: 51.41 kB / 1.245 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.298, allocations: 111.2 kB / 1.245 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.298, allocations: 25.7 kB / 1.245 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.298, allocations: 87.83 kB / 1.245 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/1.298, allocations: 30.86 kB / 1.245 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.298, allocations: 112 / 1.245 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.298, allocations: 322.6 kB / 1.245 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/1.298, allocations: 22.5 kB / 1.245 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/1.299, allocations: 37.3 kB / 1.245 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/1.299, allocations: 53.47 kB / 1.246 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.299, allocations: 0 / 1.246 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003023/1.299, allocations: 114 kB / 1.246 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.299, allocations: 8 kB / 1.246 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.299, allocations: 3.953 kB / 1.246 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.299, allocations: 0 / 1.246 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.299, allocations: 23.92 kB / 1.246 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.299, allocations: 8.031 kB / 1.246 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.312e-05/1.299, allocations: 7.984 kB / 1.246 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/1.299, allocations: 4 kB / 1.246 GB, free: 2.746 MB / 0.8542 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 () * 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.0001222/1.3, allocations: 104.9 kB / 1.246 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002931/1.3, allocations: 109.9 kB / 1.246 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/1.3, allocations: 11.86 kB / 1.246 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/1.3, allocations: 127.6 kB / 1.246 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.3, allocations: 4 kB / 1.246 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.3, allocations: 0 / 1.246 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.3, allocations: 0 / 1.246 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/1.301, allocations: 164.5 kB / 1.246 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.301, allocations: 0 / 1.246 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/1.301, allocations: 19.98 kB / 1.246 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.301, allocations: 0 / 1.246 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.301, allocations: 11.95 kB / 1.246 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.301, allocations: 0 / 1.246 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.301, allocations: 0 / 1.246 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/1.301, allocations: 208.6 kB / 1.246 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/1.301, allocations: 85.2 kB / 1.246 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/1.301, allocations: 4 kB / 1.246 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/1.301, allocations: 19.88 kB / 1.246 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/1.302, allocations: 4 kB / 1.247 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.302, allocations: 7.922 kB / 1.247 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.285e-05/1.302, allocations: 86.91 kB / 1.247 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.302, allocations: 0 / 1.247 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002761/1.302, allocations: 27.56 kB / 1.247 GB, free: 1.766 MB / 0.8542 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 () * 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.0009449/1.303, allocations: 0.7791 MB / 1.247 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001617/1.303, allocations: 49.77 kB / 1.247 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.303, allocations: 0 / 1.247 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/1.303, allocations: 30.53 kB / 1.247 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.303, allocations: 16.08 kB / 1.247 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/1.304, allocations: 135.3 kB / 1.248 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/1.304, allocations: 0.6924 MB / 1.248 GB, free: 40 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.841e-05/1.304, allocations: 12.16 kB / 1.248 GB, free: 24 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/1.304, allocations: 18.81 kB / 1.248 GB, free: 12 kB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.304, allocations: 0 / 1.248 GB, free: 12 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5375/1.842, allocations: 1.817 MB / 1.25 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.842, allocations: 170.3 kB / 1.25 GB, free: 309 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/3.606, allocations: 0 / 1.25 GB, free: 309 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)