Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002244/0.002244, allocations: 193 kB / 16.13 MB, free: 6.656 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 71.44 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3972, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004113/0.4013, allocations: 2.229 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.4036, allocations: 1.354 MB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4037, allocations: 8 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.4044, allocations: 179.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.4047, allocations: 119.5 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.4051, allocations: 126.9 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.4053, allocations: 219.1 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4055, allocations: 44.66 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.4057, allocations: 87.5 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.4058, allocations: 103.4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.4058, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.406, allocations: 55.92 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4061, allocations: 79.67 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.4062, allocations: 130.9 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.4066, allocations: 346.6 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4066, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4066, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.4066, allocations: 0 / 1.072 GB, free: 5.867 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.0009846/0.4076, allocations: 0.6763 MB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4077, allocations: 8.031 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.4078, allocations: 48.38 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.4082, allocations: 356.3 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4082, allocations: 8.312 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4083, allocations: 7.938 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.4085, allocations: 77.66 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4085, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4085, allocations: 3.984 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4085, allocations: 0 / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4086, allocations: 35.98 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.4095, allocations: 460.5 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.4098, allocations: 66.67 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.4098, allocations: 28.84 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4099, allocations: 112 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.4101, allocations: 87.25 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4101, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000362/0.4105, allocations: 145.1 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4105, allocations: 55.34 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.4112, allocations: 0.5255 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4112, allocations: 33.7 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4114, allocations: 220 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4114, allocations: 19.75 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.4115, allocations: 41.7 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4117, allocations: 358.8 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4119, allocations: 51.89 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.412, allocations: 80.05 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4122, allocations: 81.7 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4122, allocations: 0 / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003145/0.4125, allocations: 203.6 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4125, allocations: 4 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4126, allocations: 7.984 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4126, allocations: 0 / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.4127, allocations: 19.94 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4127, allocations: 8.062 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4128, allocations: 11.92 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.4129, allocations: 8 kB / 1.076 GB, free: 1.938 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.0001868/0.4131, allocations: 187 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.4131, allocations: 43.44 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.4132, allocations: 39.81 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4132, allocations: 7.938 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4132, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4132, allocations: 7.984 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.4135, allocations: 293.8 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4135, allocations: 4 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.4135, allocations: 7.984 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4136, allocations: 0 / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.4136, allocations: 0 / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4136, allocations: 3.938 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4136, allocations: 0 / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.4138, allocations: 152.5 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.4139, allocations: 124.5 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.414, allocations: 4 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.4141, allocations: 7.938 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.4141, allocations: 11.98 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4141, allocations: 7.984 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003817/0.4145, allocations: 362.8 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4145, allocations: 0 / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002639/0.4148, allocations: 39.91 kB / 1.077 GB, free: 0.5625 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.001047/0.4158, allocations: 424.5 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.4162, allocations: 95.89 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4162, allocations: 0 / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.4163, allocations: 27.98 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.4167, allocations: 58.48 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4179, allocations: 0.7201 MB / 1.079 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.4184, allocations: 0.8102 MB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.4185, allocations: 29.53 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4186, allocations: 15.44 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4186, allocations: 4 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.007617/0.4262, allocations: 2.728 MB / 1.082 GB, free: 11.77 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)