Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.7 MB, free: 8.852 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001025, allocations: 178.5 kB / 372.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.631 GB, free: 13.44 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000725/0.0007251, allocations: 82.84 kB / 0.7444 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 19.98 kB / 0.8675 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 115.3 MB / 0.9801 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002941/0.2844, allocations: 1.842 MB / 0.9819 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2863, allocations: 1.196 MB / 0.9831 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2865, allocations: 0 / 0.9831 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.287, allocations: 171.3 kB / 0.9833 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.2873, allocations: 111.5 kB / 0.9834 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.2877, allocations: 99.75 kB / 0.9835 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2879, allocations: 207.1 kB / 0.9837 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2881, allocations: 32.67 kB / 0.9837 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2882, allocations: 91.58 kB / 0.9838 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2884, allocations: 83.56 kB / 0.9839 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2884, allocations: 4 kB / 0.9839 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2885, allocations: 51.89 kB / 0.9839 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.2886, allocations: 83.73 kB / 0.984 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2888, allocations: 140.8 kB / 0.9841 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.2891, allocations: 259.4 kB / 0.9844 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2891, allocations: 4 kB / 0.9844 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2891, allocations: 0 / 0.9844 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2891, allocations: 0 / 0.9844 GB, free: 8.688 MB / 0.7136 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.0009116/0.29, allocations: 0.63 MB / 0.985 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2901, allocations: 8.031 kB / 0.985 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.2901, allocations: 44.38 kB / 0.985 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.2906, allocations: 352.3 kB / 0.9854 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2906, allocations: 4.359 kB / 0.9854 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2907, allocations: 23.86 kB / 0.9854 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.2908, allocations: 73.66 kB / 0.9855 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2909, allocations: 0 / 0.9855 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2909, allocations: 4 kB / 0.9855 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2909, allocations: 0 / 0.9855 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.291, allocations: 31.98 kB / 0.9855 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.2917, allocations: 472.4 kB / 0.986 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.2919, allocations: 66.67 kB / 0.986 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.292, allocations: 24.84 kB / 0.9861 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.292, allocations: 7.984 kB / 0.9861 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.2922, allocations: 75.33 kB / 0.9861 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.2922, allocations: 0 / 0.9861 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003209/0.2925, allocations: 145.1 kB / 0.9863 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2926, allocations: 55.34 kB / 0.9863 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.2932, allocations: 0.5255 MB / 0.9868 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2932, allocations: 25.7 kB / 0.9869 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2934, allocations: 220 kB / 0.9871 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2934, allocations: 19.75 kB / 0.9871 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.2934, allocations: 11.92 kB / 0.9871 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2936, allocations: 358.8 kB / 0.9874 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2937, allocations: 47.97 kB / 0.9875 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.2938, allocations: 68.91 kB / 0.9876 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.294, allocations: 88.36 kB / 0.9876 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.294, allocations: 4.031 kB / 0.9876 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002924/0.2943, allocations: 197 kB / 0.9878 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2943, allocations: 4 kB / 0.9878 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2943, allocations: 0 / 0.9878 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2943, allocations: 4 kB / 0.9878 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2944, allocations: 27.92 kB / 0.9879 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2945, allocations: 7.938 kB / 0.9879 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2946, allocations: 11.91 kB / 0.9879 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2946, allocations: 12.02 kB / 0.9879 GB, free: 4.855 MB / 0.7136 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.2948, allocations: 181.8 kB / 0.9881 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.2948, allocations: 35.53 kB / 0.9881 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.2949, allocations: 47.8 kB / 0.9881 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2949, allocations: 3.938 kB / 0.9882 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2949, allocations: 256 / 0.9882 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.295, allocations: 4.109 kB / 0.9882 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.2952, allocations: 297.5 kB / 0.9884 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2952, allocations: 0 / 0.9884 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.2953, allocations: 12 kB / 0.9885 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2953, allocations: 0 / 0.9885 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2953, allocations: 7.938 kB / 0.9885 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2953, allocations: 3.938 kB / 0.9885 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2953, allocations: 3.938 kB / 0.9885 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2955, allocations: 144.5 kB / 0.9886 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.2956, allocations: 124.5 kB / 0.9887 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.2957, allocations: 7.984 kB / 0.9887 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.2958, allocations: 19.92 kB / 0.9888 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.2958, allocations: 7.984 kB / 0.9888 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2959, allocations: 4 kB / 0.9888 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000375/0.2962, allocations: 362.8 kB / 0.9891 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2962, allocations: 0 / 0.9891 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002526/0.2965, allocations: 36 kB / 0.9891 GB, free: 3.48 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009096/0.2974, allocations: 428.1 kB / 0.9896 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2977, allocations: 99.83 kB / 0.9896 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2977, allocations: 0 / 0.9896 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.2977, allocations: 27.94 kB / 0.9897 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.2981, allocations: 53.81 kB / 0.9897 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.299, allocations: 0.7066 MB / 0.9904 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.2994, allocations: 0.8179 MB / 0.9912 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.856e-05/0.2995, allocations: 33.45 kB / 0.9912 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.2996, allocations: 15.44 kB / 0.9913 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.2996, allocations: 4 kB / 0.9913 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of Templates: time 0.006492/0.3061, allocations: 2.659 MB / 0.9939 GB, free: 14.71 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)