Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 184.7 kB / 326.5 MB, free: 2.695 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.804/1.804, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007676/0.0007676, allocations: 99.14 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003139, allocations: 10.16 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.194, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002348/0.1964, allocations: 1.931 MB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1981, allocations: 1.141 MB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1983, allocations: 0 / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1988, allocations: 175.3 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.199, allocations: 115.5 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1993, allocations: 89.34 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1995, allocations: 215.1 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1996, allocations: 40.39 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.1997, allocations: 75.52 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1998, allocations: 87.56 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1999, allocations: 4 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.2, allocations: 35.92 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.2001, allocations: 83.67 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.2002, allocations: 119 kB / 0.9007 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.2004, allocations: 255.3 kB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2004, allocations: 0 / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2004, allocations: 4 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2004, allocations: 0 / 0.901 GB, free: 63.82 MB / 0.6042 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.0006404/0.201, allocations: 0.6067 MB / 0.9016 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2011, allocations: 8.031 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.2012, allocations: 48.31 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2015, allocations: 356 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.2015, allocations: 12.3 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2015, allocations: 12.12 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2017, allocations: 77.66 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2017, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2017, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2017, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.2018, allocations: 39.92 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.2023, allocations: 456.5 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2025, allocations: 66.61 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.2025, allocations: 28.86 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2026, allocations: 0 / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.2028, allocations: 75.38 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2028, allocations: 0 / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000285/0.2031, allocations: 145.1 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2031, allocations: 55.34 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.2036, allocations: 0.5215 MB / 0.9034 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2036, allocations: 37.7 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2037, allocations: 219.9 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2037, allocations: 19.8 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2038, allocations: 17.72 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.2038, allocations: 358.9 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.2039, allocations: 51.92 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.204, allocations: 70.55 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2042, allocations: 89.72 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2042, allocations: 3.938 kB / 0.9042 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000241/0.2044, allocations: 195.1 kB / 0.9044 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2044, allocations: 4 kB / 0.9044 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2044, allocations: 0 / 0.9044 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2045, allocations: 4 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2046, allocations: 27.92 kB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2046, allocations: 7.938 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2047, allocations: 12.03 kB / 0.9045 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2047, allocations: 4 kB / 0.9045 GB, free: 60 MB / 0.6042 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 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.2049, allocations: 182.9 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.2049, allocations: 43.44 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.205, allocations: 43.81 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.205, allocations: 3.984 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.205, allocations: 3.938 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.205, allocations: 4 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2052, allocations: 293.5 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2052, allocations: 3.938 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.2052, allocations: 7.938 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2053, allocations: 3.984 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2053, allocations: 256 / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2053, allocations: 4 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2053, allocations: 7.938 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2055, allocations: 148.5 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.2055, allocations: 116.6 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.2056, allocations: 7.984 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.2057, allocations: 4 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.2057, allocations: 11.92 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2057, allocations: 8 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002707/0.206, allocations: 354.8 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.206, allocations: 0 / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002227/0.2062, allocations: 47.98 kB / 0.9057 GB, free: 58.63 MB / 0.6042 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 (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.000865/0.2071, allocations: 428.3 kB / 0.9061 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.2074, allocations: 83.97 kB / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2074, allocations: 0 / 0.9062 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.2075, allocations: 31.92 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2078, allocations: 61.17 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.2086, allocations: 0.7567 MB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.2089, allocations: 0.8102 MB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.2089, allocations: 19.44 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of SimCode: time 9.62e-07/0.2089, allocations: 4 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.004915/0.2138, allocations: 4.002 MB / 0.9118 GB, free: 52.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)