Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.167/2.167, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 188.6 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009855, allocations: 113.4 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 60.62 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2559, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00252/0.2585, allocations: 1.644 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.2612, allocations: 3.238 MB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2613, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.2613, allocations: 3.984 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.2614, allocations: 15.86 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.2618, allocations: 107.6 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.2619, allocations: 67.78 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.262, allocations: 16.11 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.2621, allocations: 39.86 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.2622, allocations: 35.83 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2622, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.2624, allocations: 95.78 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2624, allocations: 11.98 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2625, allocations: 35.78 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.2627, allocations: 117.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2627, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2627, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2627, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 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.0004837/0.2632, allocations: 391.3 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2633, allocations: 11.98 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.2633, allocations: 8.844 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.2634, allocations: 176.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2634, allocations: 8.125 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2634, allocations: 8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2636, allocations: 81.59 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2636, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2637, allocations: 3.984 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2637, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2638, allocations: 75.88 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.2642, allocations: 328.6 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2645, allocations: 90.53 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.477e-05/0.2645, allocations: 48.84 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.2651, allocations: 0.7567 MB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2652, allocations: 30.56 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2652, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003459/0.2655, allocations: 137.5 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.2656, allocations: 59.41 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.2656, allocations: 114.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2656, allocations: 33.8 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.2657, allocations: 95.97 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.2657, allocations: 27.64 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.2658, allocations: 21.7 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.492e-05/0.2658, allocations: 322.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.2659, allocations: 31.98 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.266, allocations: 45.64 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2661, allocations: 73.69 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2661, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000197/0.2663, allocations: 117.5 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2664, allocations: 7.938 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2664, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2664, allocations: 3.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2665, allocations: 19.98 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2666, allocations: 3.938 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.2666, allocations: 4 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2667, allocations: 8 kB / 1.226 GB, free: 108.3 MB / 0.823 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 5.732e-05/0.2667, allocations: 122.5 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.2667, allocations: 11.84 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.267, allocations: 118.4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.267, allocations: 4 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.267, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.267, allocations: 0 / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2672, allocations: 193.5 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2672, allocations: 3.938 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.2673, allocations: 19.98 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2673, allocations: 3.938 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.2673, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2673, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2673, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.2677, allocations: 0.7981 MB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.2678, allocations: 85.02 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2678, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.2679, allocations: 7.984 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.2679, allocations: 8.172 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2679, allocations: 0 / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.268, allocations: 103.2 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.268, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003323/0.2683, allocations: 24 kB / 1.228 GB, free: 106.7 MB / 0.823 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.0001877/0.2685, allocations: 119.2 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2687, allocations: 75.84 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2687, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.2688, allocations: 43.97 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.2692, allocations: 16.94 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.2696, allocations: 357.5 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2697, allocations: 0.6926 MB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.238e-05/0.2698, allocations: 7.984 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2698, allocations: 11.44 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.2698, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of Templates: time 0.002974/0.2728, allocations: 0.9713 MB / 1.23 GB, free: 104.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)