Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.898/1.898, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001466/0.001466, allocations: 176.6 kB / 372 MB, free: 10.2 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.784/1.784, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0009266/0.0009269, allocations: 81.8 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004248, allocations: 12.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00244/0.264, allocations: 1.836 MB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.2655, allocations: 1.192 MB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2656, allocations: 7.938 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2661, allocations: 171.3 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2663, allocations: 107.5 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2666, allocations: 95.81 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.2668, allocations: 199.2 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.267, allocations: 48.36 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2671, allocations: 75.59 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2672, allocations: 95.55 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.2673, allocations: 4 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2674, allocations: 39.97 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.2675, allocations: 83.66 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.2675, allocations: 77.52 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2677, allocations: 267.6 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2678, allocations: 0 / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2678, allocations: 7.938 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2678, allocations: 3.938 kB / 0.9838 GB, free: 23.33 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.0007217/0.2685, allocations: 0.6182 MB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2686, allocations: 12.03 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.2686, allocations: 47.39 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.269, allocations: 327.3 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.269, allocations: 12 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.2691, allocations: 7.984 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2692, allocations: 77.59 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2693, allocations: 0 / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.2693, allocations: 4 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2693, allocations: 0 / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.2694, allocations: 31.98 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.27, allocations: 472.5 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.2701, allocations: 62.61 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.2702, allocations: 24.86 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.2702, allocations: 0 / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2704, allocations: 87.33 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2704, allocations: 0 / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002978/0.2707, allocations: 145 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2708, allocations: 51.41 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.2712, allocations: 0.5254 MB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2713, allocations: 33.7 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2714, allocations: 224 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2714, allocations: 19.94 kB / 0.9865 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.2714, allocations: 7.938 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.2715, allocations: 354.8 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.2716, allocations: 51.89 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2717, allocations: 78.53 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.2718, allocations: 58.62 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2718, allocations: 0 / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002481/0.2721, allocations: 193 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2721, allocations: 11.95 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2721, allocations: 0 / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2721, allocations: 0 / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2723, allocations: 27.92 kB / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2723, allocations: 0 / 0.9872 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2724, allocations: 11.98 kB / 0.9872 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2724, allocations: 16.03 kB / 0.9872 GB, free: 19.55 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: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001367/0.2726, allocations: 175.3 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.2726, allocations: 43.44 kB / 0.9874 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.2727, allocations: 47.75 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2727, allocations: 7.938 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2727, allocations: 0 / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2727, allocations: 0 / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2729, allocations: 301.5 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2729, allocations: 4 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.2729, allocations: 4 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2729, allocations: 0 / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2729, allocations: 0 / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.273, allocations: 7.938 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.273, allocations: 256 / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.2731, allocations: 152.5 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.2732, allocations: 108.6 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.2733, allocations: 12 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.2733, allocations: 7.984 kB / 0.9881 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.2734, allocations: 11.94 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2734, allocations: 7.984 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002923/0.2737, allocations: 358.8 kB / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.41e-07/0.2737, allocations: 0 / 0.9884 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000227/0.2739, allocations: 55.78 kB / 0.9885 GB, free: 18.18 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008539/0.2748, allocations: 423.4 kB / 0.9889 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.275, allocations: 91.97 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2751, allocations: 3.938 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.2751, allocations: 31.97 kB / 0.989 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.0003317/0.2755, allocations: 53.92 kB / 0.9891 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.2763, allocations: 0.7026 MB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2765, allocations: 0.8219 MB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.215e-05/0.2766, allocations: 25.53 kB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.2766, allocations: 23.42 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2767, allocations: 4 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.005781/0.2824, allocations: 2.639 MB / 0.9932 GB, free: 13.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)