Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001169/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 73.59 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.282, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003976/0.2861, allocations: 2.187 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2882, allocations: 1.293 MB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.2883, allocations: 0 / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.289, allocations: 191.6 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.2893, allocations: 123.4 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.2896, allocations: 123.6 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.2899, allocations: 223.2 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.2901, allocations: 44.59 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2902, allocations: 103.5 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2903, allocations: 95.55 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.2904, allocations: 12 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2905, allocations: 51.92 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2907, allocations: 95.66 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2908, allocations: 130.9 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.2912, allocations: 350.7 kB / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2912, allocations: 0 / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2912, allocations: 0 / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2913, allocations: 0 / 0.7882 GB, free: 8.469 MB / 0.6075 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.001096/0.2924, allocations: 0.6841 MB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.2924, allocations: 8.031 kB / 0.7889 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.2925, allocations: 44.38 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.2929, allocations: 348.3 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.293, allocations: 8.375 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.293, allocations: 11.88 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.2932, allocations: 73.66 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2932, allocations: 0 / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2932, allocations: 11.98 kB / 0.7894 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2932, allocations: 7.938 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.2933, allocations: 35.92 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.294, allocations: 456.5 kB / 0.7899 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.2942, allocations: 74.61 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.2943, allocations: 20.86 kB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2943, allocations: 0 / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.2945, allocations: 79.38 kB / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.2945, allocations: 0 / 0.79 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003369/0.2948, allocations: 149 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2949, allocations: 59.34 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.2954, allocations: 0.5294 MB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2955, allocations: 29.7 kB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2956, allocations: 219.9 kB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2957, allocations: 15.81 kB / 0.791 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.2957, allocations: 45.61 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2959, allocations: 354.8 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.296, allocations: 52.09 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2961, allocations: 79.42 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2963, allocations: 88.59 kB / 0.7916 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2963, allocations: 0 / 0.7916 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002918/0.2966, allocations: 193 kB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2966, allocations: 8 kB / 0.7918 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2966, allocations: 8.047 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2967, allocations: 0 / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2968, allocations: 27.88 kB / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2968, allocations: 0 / 0.7918 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2969, allocations: 15.98 kB / 0.7918 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2969, allocations: 4 kB / 0.7918 GB, free: 4.539 MB / 0.6075 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.0001787/0.2971, allocations: 184.9 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2972, allocations: 43.44 kB / 0.7921 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.2973, allocations: 47.75 kB / 0.7921 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2973, allocations: 3.938 kB / 0.7921 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2973, allocations: 3.984 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2973, allocations: 0 / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2975, allocations: 301.5 kB / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2975, allocations: 256 / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.2976, allocations: 7.984 kB / 0.7924 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2976, allocations: 4 kB / 0.7924 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2976, allocations: 0 / 0.7924 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2976, allocations: 3.938 kB / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2976, allocations: 0 / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.2978, allocations: 152.5 kB / 0.7926 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.2979, allocations: 116.6 kB / 0.7927 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.298, allocations: 8 kB / 0.7927 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.2981, allocations: 7.938 kB / 0.7927 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.2981, allocations: 11.98 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2981, allocations: 11.92 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003537/0.2985, allocations: 366.8 kB / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2985, allocations: 0 / 0.7931 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002613/0.2988, allocations: 47.91 kB / 0.7931 GB, free: 3.148 MB / 0.6075 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.0009783/0.2997, allocations: 408.5 kB / 0.7935 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3, allocations: 99.89 kB / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3, allocations: 0 / 0.7936 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.3001, allocations: 27.98 kB / 0.7936 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3005, allocations: 64.36 kB / 0.7937 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3015, allocations: 0.6401 MB / 0.7943 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3019, allocations: 0.8177 MB / 0.7951 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.147e-05/0.302, allocations: 29.52 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.3021, allocations: 19.44 kB / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3021, allocations: 0 / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.009285/0.3114, allocations: 2.866 MB / 0.7979 GB, free: 14.32 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)