Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.688/2.688, allocations: 253.2 MB / 260.6 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001896/0.001896, allocations: 181.9 kB / 319.9 MB, free: 3.055 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.5 MB / 0.5708 GB, free: 15.29 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 82.7 kB / 0.6751 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.602e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/1.102, allocations: 137.6 MB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.102, allocations: 90.88 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05101/1.153, allocations: 11.85 MB / 1.035 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.153, allocations: 0 / 1.035 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.53e-05/1.154, allocations: 8 kB / 1.035 GB, free: 5.793 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001177/1.155, allocations: 0.6414 MB / 1.035 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.155, allocations: 12.02 kB / 1.035 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/1.155, allocations: 63.2 kB / 1.035 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009002/1.156, allocations: 397.6 kB / 1.036 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.156, allocations: 4 kB / 1.036 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/1.156, allocations: 11.94 kB / 1.036 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002377/1.156, allocations: 70.98 kB / 1.036 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/1.157, allocations: 109.2 kB / 1.036 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/1.157, allocations: 4 kB / 1.036 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/1.157, allocations: 0 / 1.036 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/1.157, allocations: 3.953 kB / 1.036 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/1.158, allocations: 0.6006 MB / 1.037 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/1.158, allocations: 110.8 kB / 1.037 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/1.158, allocations: 35.3 kB / 1.037 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/1.158, allocations: 4 kB / 1.037 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/1.159, allocations: 101.8 kB / 1.037 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/1.159, allocations: 0 / 1.037 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0004285/1.159, allocations: 155.6 kB / 1.037 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.159, allocations: 51.41 kB / 1.037 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/1.16, allocations: 0.529 MB / 1.037 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.16, allocations: 29.39 kB / 1.038 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/1.16, allocations: 255.8 kB / 1.038 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/1.161, allocations: 31.23 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/1.161, allocations: 0 / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.161, allocations: 368.3 kB / 1.038 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.161, allocations: 79.86 kB / 1.038 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/1.161, allocations: 116.2 kB / 1.038 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.161, allocations: 85.72 kB / 1.038 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.161, allocations: 0 / 1.038 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005864/1.162, allocations: 269.9 kB / 1.039 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.162, allocations: 7.984 kB / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.162, allocations: 0 / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/1.162, allocations: 0 / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/1.162, allocations: 35.61 kB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.162, allocations: 4 kB / 1.039 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.163, allocations: 31.86 kB / 1.039 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/1.163, allocations: 12 kB / 1.039 GB, free: 2.098 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001232/1.163, allocations: 120.2 kB / 1.039 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/1.163, allocations: 55.33 kB / 1.039 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/1.164, allocations: 164.8 kB / 1.039 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.164, allocations: 4 kB / 1.039 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.164, allocations: 0 / 1.039 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.164, allocations: 0 / 1.039 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/1.164, allocations: 334.8 kB / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.164, allocations: 0 / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/1.164, allocations: 11.94 kB / 1.039 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.164, allocations: 15.88 kB / 1.039 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.164, allocations: 0 / 1.039 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.164, allocations: 0 / 1.039 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.164, allocations: 0 / 1.039 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/1.165, allocations: 229.7 kB / 1.04 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.165, allocations: 127.5 kB / 1.04 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/1.165, allocations: 15.39 kB / 1.04 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/1.165, allocations: 11.98 kB / 1.04 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/1.165, allocations: 23.22 kB / 1.04 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/1.165, allocations: 7.984 kB / 1.04 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006086/1.166, allocations: 380.1 kB / 1.04 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.166, allocations: 0 / 1.04 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004897/1.166, allocations: 63.5 kB / 1.04 GB, free: 0.7305 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001118/1.168, allocations: 396.5 kB / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000363/1.168, allocations: 131.4 kB / 1.041 GB, free: 344 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.168, allocations: 4 kB / 1.041 GB, free: 340 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/1.168, allocations: 52.48 kB / 1.041 GB, free: 304 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/1.169, allocations: 52.56 kB / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.17, allocations: 0.5587 MB / 1.041 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/1.171, allocations: 0.8645 MB / 1.042 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002035/1.171, allocations: 37.98 kB / 1.042 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.171, allocations: 27.31 kB / 1.042 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of SimCode: time 7.62e-07/1.171, allocations: 0 / 1.042 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.01233/1.183, allocations: 3.191 MB / 1.045 GB, free: 11.65 MB / 0.6667 GB