Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.669/2.669, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 189 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 105.8 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008021/0.0008024, allocations: 13.06 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1879, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002229/0.1901, allocations: 1.812 MB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.192, allocations: 1.173 MB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1922, allocations: 3.938 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.1927, allocations: 179.3 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.193, allocations: 115.7 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1934, allocations: 94.14 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.1937, allocations: 151.7 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1938, allocations: 36.39 kB / 0.9822 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.194, allocations: 91.62 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1941, allocations: 83.56 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1941, allocations: 4 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1943, allocations: 39.95 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.1944, allocations: 79.67 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.1944, allocations: 77.52 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1948, allocations: 263.6 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1948, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.969e-06/0.1948, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.844e-06/0.1948, allocations: 4 kB / 0.9828 GB, free: 23.95 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.0007867/0.1956, allocations: 0.6243 MB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1956, allocations: 12.03 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.1957, allocations: 47.39 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.1962, allocations: 331.2 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1962, allocations: 8 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1962, allocations: 15.97 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1964, allocations: 73.66 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.513e-06/0.1965, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1965, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1965, allocations: 4 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.1966, allocations: 39.88 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.1973, allocations: 460.5 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1976, allocations: 70.61 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1976, allocations: 3.953 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1978, allocations: 79.52 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.1978, allocations: 0 / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003583/0.1982, allocations: 149 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1982, allocations: 51.41 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.1988, allocations: 0.5293 MB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1989, allocations: 29.7 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.199, allocations: 220.1 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1991, allocations: 23.77 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.1991, allocations: 4 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1992, allocations: 354.8 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1993, allocations: 55.88 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1995, allocations: 75.8 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1997, allocations: 53.77 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-06/0.1997, allocations: 0 / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003831/0.2001, allocations: 201 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2001, allocations: 8 kB / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.2001, allocations: 0 / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2001, allocations: 0 / 0.9862 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2003, allocations: 23.98 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.915e-06/0.2003, allocations: 3.938 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2005, allocations: 15.98 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2006, allocations: 8 kB / 0.9863 GB, free: 20.19 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.0001889/0.2008, allocations: 181.8 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.2008, allocations: 51.39 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.2009, allocations: 39.81 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-06/0.2009, allocations: 0 / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-06/0.201, allocations: 0 / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.201, allocations: 3.984 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.2012, allocations: 293.5 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-06/0.2012, allocations: 0 / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.2013, allocations: 7.984 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.642e-06/0.2013, allocations: 0 / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2013, allocations: 7.953 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.843e-06/0.2013, allocations: 0 / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.2013, allocations: 0 / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.2016, allocations: 156.7 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.2017, allocations: 112.6 kB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2018, allocations: 8 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2019, allocations: 7.953 kB / 0.9871 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.202, allocations: 19.95 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.202, allocations: 4 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004109/0.2024, allocations: 358.8 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.56e-06/0.2024, allocations: 0 / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003542/0.2028, allocations: 63.77 kB / 0.9875 GB, free: 18.81 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.001388/0.2042, allocations: 412 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2046, allocations: 95.91 kB / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.2046, allocations: 0 / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.2047, allocations: 31.92 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.2051, allocations: 47.62 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2061, allocations: 0.7065 MB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2064, allocations: 0.8257 MB / 0.9896 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2065, allocations: 21.55 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.2066, allocations: 27.36 kB / 0.9896 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.431e-06/0.2066, allocations: 0 / 0.9896 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.009062/0.2157, allocations: 2.648 MB / 0.9922 GB, free: 14.13 MB / 0.6198 GB