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.0009463/0.0009466, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006834/0.006834, allocations: 172 kB / 16.26 MB, free: 6.613 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.824/1.824, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.926/1.926, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005535/0.0005536, allocations: 20.69 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.276, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002677/0.2787, allocations: 1.889 MB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2807, allocations: 1.251 MB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.2808, allocations: 0 / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.2814, allocations: 187.6 kB / 0.7911 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.2817, allocations: 115.6 kB / 0.7912 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2821, allocations: 99.83 kB / 0.7913 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.2824, allocations: 223.1 kB / 0.7915 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2826, allocations: 44.61 kB / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2827, allocations: 83.52 kB / 0.7917 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2829, allocations: 87.55 kB / 0.7918 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2829, allocations: 4 kB / 0.7918 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.283, allocations: 51.97 kB / 0.7918 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.2831, allocations: 83.61 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.2833, allocations: 156.6 kB / 0.792 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.2837, allocations: 334.6 kB / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2837, allocations: 0 / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2837, allocations: 0 / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2837, allocations: 7.938 kB / 0.7924 GB, free: 6.938 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.0009028/0.2846, allocations: 0.6221 MB / 0.793 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2846, allocations: 8.031 kB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.2847, allocations: 48.38 kB / 0.793 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.2851, allocations: 356.3 kB / 0.7934 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2852, allocations: 8.359 kB / 0.7934 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.2852, allocations: 15.88 kB / 0.7934 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2854, allocations: 73.66 kB / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2854, allocations: 0 / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2854, allocations: 0 / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2854, allocations: 4 kB / 0.7935 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.2855, allocations: 35.92 kB / 0.7935 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.2862, allocations: 464.5 kB / 0.7939 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2864, allocations: 66.61 kB / 0.794 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.2865, allocations: 24.84 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2865, allocations: 0 / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.2867, allocations: 79.39 kB / 0.7941 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2867, allocations: 0 / 0.7941 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003525/0.287, allocations: 153 kB / 0.7942 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2871, allocations: 55.34 kB / 0.7943 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.2876, allocations: 0.5255 MB / 0.7948 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.2876, allocations: 29.7 kB / 0.7948 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2878, allocations: 227.9 kB / 0.7951 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.2879, allocations: 15.81 kB / 0.7951 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.2879, allocations: 29.7 kB / 0.7951 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.288, allocations: 354.8 kB / 0.7954 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.2881, allocations: 48.09 kB / 0.7955 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.2883, allocations: 78.48 kB / 0.7956 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2884, allocations: 92.48 kB / 0.7956 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2884, allocations: 0 / 0.7956 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003038/0.2888, allocations: 193 kB / 0.7958 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2888, allocations: 4 kB / 0.7958 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2888, allocations: 0 / 0.7958 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2888, allocations: 4 kB / 0.7958 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2889, allocations: 27.86 kB / 0.7959 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2889, allocations: 4 kB / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2891, allocations: 20.02 kB / 0.7959 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2891, allocations: 4 kB / 0.7959 GB, free: 3.074 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.0001885/0.2893, allocations: 180.9 kB / 0.7961 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2893, allocations: 47.42 kB / 0.7961 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2894, allocations: 39.81 kB / 0.7961 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2894, allocations: 7.875 kB / 0.7962 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2895, allocations: 3.938 kB / 0.7962 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2895, allocations: 0 / 0.7962 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.2898, allocations: 301.5 kB / 0.7964 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2898, allocations: 4 kB / 0.7965 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2898, allocations: 4 kB / 0.7965 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2898, allocations: 0 / 0.7965 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2898, allocations: 7.984 kB / 0.7965 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2898, allocations: 3.938 kB / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2898, allocations: 0 / 0.7965 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.2901, allocations: 148.5 kB / 0.7966 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.2902, allocations: 124.5 kB / 0.7967 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2902, allocations: 4 kB / 0.7967 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.2903, allocations: 11.94 kB / 0.7967 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2904, allocations: 11.98 kB / 0.7968 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2904, allocations: 7.984 kB / 0.7968 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003672/0.2908, allocations: 366.8 kB / 0.7971 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2908, allocations: 0 / 0.7971 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002742/0.2911, allocations: 44 kB / 0.7972 GB, free: 1.688 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.0009999/0.2921, allocations: 420.1 kB / 0.7976 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.2923, allocations: 99.89 kB / 0.7976 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2924, allocations: 0 / 0.7976 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.2924, allocations: 27.98 kB / 0.7977 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.2928, allocations: 45.94 kB / 0.7977 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.294, allocations: 0.7495 MB / 0.7985 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.2944, allocations: 0.8102 MB / 0.7992 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.58e-05/0.2946, allocations: 29.64 kB / 0.7993 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.2946, allocations: 23.44 kB / 0.7993 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2946, allocations: 3.938 kB / 0.7993 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.007141/0.3018, allocations: 2.685 MB / 0.8019 GB, free: 12.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: