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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001333/0.001333, allocations: 195.6 kB / 16.14 MB, free: 6.703 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.394/1.394, allocations: 205.1 MB / 222 MB, free: 4.75 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.702/1.702, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001367/0.001367, allocations: 64.41 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2666, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004895/0.2716, allocations: 2.236 MB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.2739, allocations: 1.278 MB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2743, allocations: 0 / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.2752, allocations: 183.7 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.2757, allocations: 115.5 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2762, allocations: 102.6 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/0.2766, allocations: 223.1 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.2768, allocations: 48.59 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.277, allocations: 79.58 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.2772, allocations: 99.42 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.2773, allocations: 8 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2775, allocations: 43.98 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.2777, allocations: 103.5 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2778, allocations: 123 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.2784, allocations: 342.7 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.2784, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2784, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.2784, allocations: 0 / 0.7875 GB, free: 9.031 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.001534/0.28, allocations: 0.6802 MB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2801, allocations: 8.031 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2802, allocations: 44.38 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.2808, allocations: 352.2 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2808, allocations: 4.375 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.2809, allocations: 15.92 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2811, allocations: 77.64 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2811, allocations: 4 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2812, allocations: 0 / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2812, allocations: 0 / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2813, allocations: 39.92 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008758/0.2822, allocations: 460.5 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.2824, allocations: 70.61 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.2825, allocations: 24.97 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2825, allocations: 7.938 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.2827, allocations: 71.38 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.2827, allocations: 0 / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.000407/0.2832, allocations: 149 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.2832, allocations: 59.34 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.2838, allocations: 0.5255 MB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2839, allocations: 29.7 kB / 0.79 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.284, allocations: 227.9 kB / 0.7903 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2841, allocations: 11.81 kB / 0.7903 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.2841, allocations: 41.61 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2843, allocations: 362.8 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.2844, allocations: 43.98 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2845, allocations: 78.55 kB / 0.7908 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2847, allocations: 85.67 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2847, allocations: 3.984 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002861/0.285, allocations: 195.6 kB / 0.791 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.285, allocations: 7.984 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.285, allocations: 0 / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.285, allocations: 4 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.2851, allocations: 23.88 kB / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2852, allocations: 3.984 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2853, allocations: 16.03 kB / 0.7911 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2853, allocations: 7.938 kB / 0.7911 GB, free: 5.102 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.0001693/0.2855, allocations: 182.4 kB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.2855, allocations: 39.44 kB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.2856, allocations: 43.81 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2856, allocations: 7.922 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2856, allocations: 4 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2856, allocations: 0 / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2859, allocations: 301.5 kB / 0.7917 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2859, allocations: 4.188 kB / 0.7917 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.2859, allocations: 11.98 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2859, allocations: 4 kB / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2859, allocations: 0 / 0.7917 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.286, allocations: 3.938 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.286, allocations: 0 / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2862, allocations: 152.5 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.2863, allocations: 120.6 kB / 0.7919 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2863, allocations: 0 / 0.7919 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.2864, allocations: 11.94 kB / 0.792 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2865, allocations: 11.98 kB / 0.792 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2865, allocations: 3.984 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003401/0.2868, allocations: 362.8 kB / 0.7923 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2868, allocations: 0 / 0.7923 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002624/0.2871, allocations: 47.91 kB / 0.7924 GB, free: 3.719 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.0009619/0.2881, allocations: 427.8 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.2883, allocations: 87.97 kB / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2883, allocations: 0 / 0.7929 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.2884, allocations: 31.92 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2888, allocations: 45.94 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.2898, allocations: 0.7279 MB / 0.7936 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2901, allocations: 0.8141 MB / 0.7944 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.446e-05/0.2902, allocations: 25.53 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.2903, allocations: 23.44 kB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2903, allocations: 0 / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.006514/0.2968, allocations: 2.715 MB / 0.7971 GB, free: 14.95 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)