Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 98.27 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.01026/0.01026, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 14.25 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3719, allocations: 162.2 MB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001646/0.3735, allocations: 1.321 MB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003272/0.3768, allocations: 3.194 MB / 1.079 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3769, allocations: 0 / 1.079 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.3769, allocations: 7.922 kB / 1.079 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.377, allocations: 7.938 kB / 1.079 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.3774, allocations: 103.6 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.3775, allocations: 79.72 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.3776, allocations: 20.16 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/0.3777, allocations: 35.84 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.3778, allocations: 31.84 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3778, allocations: 0 / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.3781, allocations: 99.77 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3781, allocations: 15.92 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3782, allocations: 61.5 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3784, allocations: 119.9 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3784, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3784, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3784, allocations: 0 / 1.079 GB, free: 2.363 MB / 0.8262 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.0005106/0.3789, allocations: 379.2 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.379, allocations: 12.03 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.379, allocations: 12.83 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3791, allocations: 176.2 kB / 1.08 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3791, allocations: 4.375 kB / 1.08 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3792, allocations: 4.375 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3794, allocations: 81.59 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3794, allocations: 0 / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3794, allocations: 7.984 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3794, allocations: 8 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3796, allocations: 75.95 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.3801, allocations: 324.7 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.3804, allocations: 102.6 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3805, allocations: 44.84 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.3812, allocations: 0.7487 MB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3813, allocations: 34.84 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.555e-06/0.3813, allocations: 0 / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.3817, allocations: 153.5 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3817, allocations: 55.41 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.3818, allocations: 121.8 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3819, allocations: 25.7 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3819, allocations: 99.97 kB / 1.081 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3819, allocations: 27.56 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.382, allocations: 17.72 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.3821, allocations: 314.8 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.3822, allocations: 35.98 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.3823, allocations: 53.62 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3825, allocations: 89.69 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3825, allocations: 192 / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000242/0.3827, allocations: 121.6 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3828, allocations: 7.938 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3828, allocations: 0 / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3828, allocations: 3.938 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3829, allocations: 24.02 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.383, allocations: 4 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.383, allocations: 11.89 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3831, allocations: 4 kB / 1.082 GB, free: 14.88 MB / 0.8419 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.617e-05/0.3831, allocations: 113.8 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3832, allocations: 11.84 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3835, allocations: 138.3 kB / 1.082 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3835, allocations: 3.938 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3835, allocations: 0 / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3835, allocations: 7.984 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3837, allocations: 189.6 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3837, allocations: 8 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3838, allocations: 15.98 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3838, allocations: 0 / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3839, allocations: 4 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3839, allocations: 3.938 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3839, allocations: 0 / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3842, allocations: 215.3 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.3842, allocations: 88.95 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3842, allocations: 4 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.3843, allocations: 7.938 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3844, allocations: 7.984 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3844, allocations: 0 / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.3844, allocations: 99.27 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3844, allocations: 0 / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002535/0.3847, allocations: 24 kB / 1.083 GB, free: 13.85 MB / 0.8419 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.0001971/0.3849, allocations: 114.6 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3852, allocations: 95.94 kB / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3852, allocations: 0 / 1.083 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3853, allocations: 47.86 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.3856, allocations: 14.8 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.386, allocations: 252.3 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.3862, allocations: 0.6848 MB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.386e-05/0.3863, allocations: 11.98 kB / 1.084 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3863, allocations: 11.44 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3863, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003428/0.3898, allocations: 0.9356 MB / 1.085 GB, free: 11.64 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1)