Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 189.5 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 105.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009689/0.0009691, allocations: 58.11 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2865, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004219/0.2907, allocations: 2.227 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2929, allocations: 1.355 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.293, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.2937, allocations: 179.7 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2939, allocations: 119.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.2943, allocations: 123 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.2945, allocations: 223.1 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2947, allocations: 46.48 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.2948, allocations: 91.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2949, allocations: 95.55 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.295, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.2951, allocations: 51.92 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.2952, allocations: 83.67 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.2953, allocations: 130.9 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.2956, allocations: 346.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2956, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2956, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2957, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 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.0008538/0.2965, allocations: 0.6724 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2966, allocations: 11.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.2966, allocations: 48.38 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.297, allocations: 352.3 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.297, allocations: 8.375 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.297, allocations: 7.938 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2972, allocations: 81.58 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2972, allocations: 3.938 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2972, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2972, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.2973, allocations: 31.98 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.2979, allocations: 460.5 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2981, allocations: 66.61 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.2982, allocations: 24.86 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2982, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.2983, allocations: 79.38 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2983, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002829/0.2986, allocations: 145 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2987, allocations: 55.34 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2991, allocations: 0.5332 MB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2991, allocations: 33.7 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2992, allocations: 220 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.2992, allocations: 15.81 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2993, allocations: 45.61 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.2994, allocations: 362.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.2995, allocations: 43.98 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2996, allocations: 78.55 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2997, allocations: 91.55 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2997, allocations: 3.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000231/0.2999, allocations: 185.1 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3, allocations: 13.34 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3, allocations: 7.875 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3001, allocations: 27.94 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3001, allocations: 8.047 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3002, allocations: 11.94 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3002, allocations: 4 kB / 1.227 GB, free: 108.2 MB / 0.823 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.0001222/0.3004, allocations: 186.4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.3004, allocations: 47.42 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.3005, allocations: 43.81 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3005, allocations: 8.172 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3005, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3005, allocations: 8 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3007, allocations: 289.5 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3007, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3007, allocations: 7.984 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3007, allocations: 0 / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3007, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3007, allocations: 3.938 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3007, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3011, allocations: 0.8026 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.3012, allocations: 112.5 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3012, allocations: 4 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3013, allocations: 7.984 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3014, allocations: 7.984 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3014, allocations: 4 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002574/0.3016, allocations: 362.8 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3016, allocations: 4 kB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003291/0.302, allocations: 51.98 kB / 1.229 GB, free: 106.1 MB / 0.823 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.0008498/0.3028, allocations: 426 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3031, allocations: 94.2 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3031, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.3031, allocations: 23.94 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3035, allocations: 70.09 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.3043, allocations: 0.84 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3045, allocations: 0.8141 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.561e-05/0.3046, allocations: 21.55 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.3046, allocations: 27.36 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3046, allocations: 3.938 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of Templates: time 0.00544/0.3101, allocations: 2.783 MB / 1.233 GB, free: 101.1 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)