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.001539/0.001539, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002555/0.002555, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.757/1.757, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.701/1.701, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001362/0.001362, allocations: 66.23 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 114.5 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003869/0.2751, allocations: 2.232 MB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.277, allocations: 1.286 MB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2772, allocations: 0 / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.2778, allocations: 175.7 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.2781, allocations: 119.5 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.2785, allocations: 111.8 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2788, allocations: 227.2 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.279, allocations: 48.53 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.2792, allocations: 91.53 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2794, allocations: 107.5 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.2794, allocations: 8 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2796, allocations: 63.95 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2797, allocations: 87.67 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.2799, allocations: 138.9 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.2804, allocations: 354.7 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2804, allocations: 0 / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2804, allocations: 4 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2804, allocations: 0 / 0.7878 GB, free: 8.891 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.001187/0.2816, allocations: 0.6686 MB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2817, allocations: 12.03 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.2818, allocations: 48.38 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.2823, allocations: 352.2 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.2823, allocations: 8.312 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.2824, allocations: 11.94 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2826, allocations: 69.66 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2826, allocations: 4 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2826, allocations: 4 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2827, allocations: 0 / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.2828, allocations: 35.97 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.2836, allocations: 460.5 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.2839, allocations: 70.67 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.2839, allocations: 24.84 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.284, allocations: 7.938 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.2842, allocations: 75.38 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.2842, allocations: 0 / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003781/0.2846, allocations: 149.1 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.2847, allocations: 55.34 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.2853, allocations: 0.5294 MB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2853, allocations: 29.64 kB / 0.7903 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2855, allocations: 219.9 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2855, allocations: 19.78 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.2856, allocations: 45.61 kB / 0.7906 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2858, allocations: 358.9 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2859, allocations: 55.92 kB / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.286, allocations: 74.55 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.2862, allocations: 80.52 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2862, allocations: 0 / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003071/0.2865, allocations: 201 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2865, allocations: 12.06 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2865, allocations: 3.938 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2865, allocations: 0 / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2867, allocations: 31.86 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2867, allocations: 0 / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2868, allocations: 11.98 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2868, allocations: 8 kB / 0.7914 GB, free: 4.961 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.0001687/0.287, allocations: 173.8 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.2871, allocations: 47.42 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.2872, allocations: 47.81 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2872, allocations: 3.938 kB / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2872, allocations: 0 / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2872, allocations: 0 / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2875, allocations: 301.5 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2875, allocations: 0 / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.2875, allocations: 4 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2875, allocations: 3.984 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2875, allocations: 0 / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2875, allocations: 11.88 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2875, allocations: 4 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.2878, allocations: 152.8 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.2879, allocations: 108.6 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.2879, allocations: 3.984 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.288, allocations: 11.94 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.2881, allocations: 7.984 kB / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2881, allocations: 4 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003595/0.2885, allocations: 370.8 kB / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2885, allocations: 0 / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002707/0.2887, allocations: 47.91 kB / 0.7926 GB, free: 3.586 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.0009678/0.2897, allocations: 420.9 kB / 0.793 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.29, allocations: 99.27 kB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.29, allocations: 4 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.2901, allocations: 39.97 kB / 0.7931 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2905, allocations: 53.73 kB / 0.7932 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009705/0.2914, allocations: 0.7261 MB / 0.7939 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.2919, allocations: 0.8138 MB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.062e-05/0.292, allocations: 25.52 kB / 0.7947 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.292, allocations: 19.44 kB / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2921, allocations: 0 / 0.7947 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.006703/0.2988, allocations: 2.801 MB / 0.7975 GB, free: 14.73 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)