Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001991/0.001991, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.73 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004463/0.3554, allocations: 2.227 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.3579, allocations: 1.354 MB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3581, allocations: 3.938 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.3588, allocations: 183.7 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.3592, allocations: 119.5 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.3597, allocations: 127.8 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.3601, allocations: 219.1 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3602, allocations: 36.67 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3604, allocations: 83.58 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3606, allocations: 99.48 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.3607, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3608, allocations: 47.97 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3609, allocations: 91.59 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.3611, allocations: 131 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.3615, allocations: 342.6 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3615, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3615, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3615, allocations: 0 / 1.072 GB, free: 5.812 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.001003/0.3625, allocations: 0.6841 MB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3625, allocations: 12.03 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.3627, allocations: 44.38 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3631, allocations: 344.3 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3631, allocations: 8.375 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.3631, allocations: 11.94 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.3633, allocations: 69.66 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3633, allocations: 4 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3634, allocations: 8 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3634, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3635, allocations: 47.84 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.3642, allocations: 456.5 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3644, allocations: 66.62 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.3644, allocations: 28.78 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3645, allocations: 4 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3647, allocations: 79.38 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.3647, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000361/0.365, allocations: 145 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3651, allocations: 55.34 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.3657, allocations: 0.5294 MB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3657, allocations: 29.7 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3659, allocations: 220 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3659, allocations: 19.73 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.366, allocations: 41.7 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3661, allocations: 354.8 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3662, allocations: 51.89 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3664, allocations: 74.55 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3666, allocations: 92.06 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3666, allocations: 4 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000331/0.3669, allocations: 193 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3669, allocations: 5.406 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3669, allocations: 0 / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.367, allocations: 0 / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3671, allocations: 31.86 kB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3671, allocations: 0 / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3672, allocations: 20.02 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3673, allocations: 4 kB / 1.076 GB, free: 1.883 MB / 0.8262 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.0001781/0.3674, allocations: 181.8 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.3675, allocations: 43.44 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.3676, allocations: 39.81 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3676, allocations: 3.938 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3676, allocations: 4.047 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3676, allocations: 3.938 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.3679, allocations: 301.5 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3679, allocations: 8.234 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.3679, allocations: 8 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3679, allocations: 3.984 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3679, allocations: 4 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3679, allocations: 3.938 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.368, allocations: 0 / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3682, allocations: 148.5 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.3683, allocations: 112.6 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3683, allocations: 11.98 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.3684, allocations: 7.938 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3685, allocations: 7.984 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3685, allocations: 7.938 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000413/0.3689, allocations: 370.8 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3689, allocations: 0 / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002901/0.3692, allocations: 43.91 kB / 1.077 GB, free: 0.4961 MB / 0.8262 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.0009729/0.3702, allocations: 418.7 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.3705, allocations: 95.89 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3705, allocations: 0 / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.3706, allocations: 27.98 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3709, allocations: 58.52 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.372, allocations: 0.724 MB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3724, allocations: 0.8141 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.737e-05/0.3725, allocations: 25.53 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.3726, allocations: 19.44 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3726, allocations: 4 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.006779/0.3794, allocations: 2.725 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)