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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 303.3 MB, free: 8.195 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.001335/0.001335, allocations: 182.1 kB / 372 MB, free: 10.25 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.761/1.761, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008535, allocations: 89.31 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004397, allocations: 11.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2695, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002426/0.272, allocations: 1.82 MB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2736, allocations: 1.212 MB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2737, allocations: 3.938 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.2743, allocations: 167.3 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.2745, allocations: 115.5 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.2749, allocations: 93.45 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.2751, allocations: 199.2 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2753, allocations: 36.39 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2754, allocations: 83.56 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2755, allocations: 91.55 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.2755, allocations: 4 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.2757, allocations: 43.98 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.2757, allocations: 79.67 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.2758, allocations: 81.45 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.2761, allocations: 263.6 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2761, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2761, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2761, allocations: 4 kB / 0.9838 GB, free: 23.24 MB / 0.6198 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.0008699/0.277, allocations: 0.626 MB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.2771, allocations: 12.03 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.2771, allocations: 38.55 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.2772, allocations: 47.39 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.2776, allocations: 327.3 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2776, allocations: 7.938 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2776, allocations: 11.98 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2778, allocations: 73.66 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2778, allocations: 0 / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2778, allocations: 7.984 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2778, allocations: 0 / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.2779, allocations: 35.94 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.2785, allocations: 468.5 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2787, allocations: 70.67 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.2788, allocations: 20.86 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2788, allocations: 7.953 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.279, allocations: 83.31 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.279, allocations: 3.938 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003946/0.2794, allocations: 141.1 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.2794, allocations: 51.41 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.2799, allocations: 0.5293 MB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2799, allocations: 25.7 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2801, allocations: 228 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2801, allocations: 19.86 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.2801, allocations: 3.938 kB / 0.9866 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.2802, allocations: 358.8 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.2803, allocations: 47.98 kB / 0.9869 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.2804, allocations: 80.36 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/0.2805, allocations: 54.12 kB / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2805, allocations: 0 / 0.9871 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002571/0.2808, allocations: 197 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2808, allocations: 7.938 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.2808, allocations: 0 / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2808, allocations: 4 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.281, allocations: 23.98 kB / 0.9873 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.281, allocations: 0 / 0.9873 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2811, allocations: 20.02 kB / 0.9873 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.2811, allocations: 4 kB / 0.9873 GB, free: 19.41 MB / 0.6198 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.0001539/0.2813, allocations: 183.2 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2813, allocations: 47.39 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.2814, allocations: 47.8 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2814, allocations: 0 / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2814, allocations: 0 / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2814, allocations: 0 / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.2816, allocations: 297.5 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2816, allocations: 4 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.2817, allocations: 8 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2817, allocations: 0 / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2817, allocations: 3.953 kB / 0.9879 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2817, allocations: 4 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2817, allocations: 3.984 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2819, allocations: 148.8 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.282, allocations: 120.6 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.282, allocations: 4 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.2821, allocations: 19.94 kB / 0.9882 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.2822, allocations: 7.984 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.2822, allocations: 0 / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002953/0.2825, allocations: 362.8 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2825, allocations: 0 / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002375/0.2827, allocations: 51.78 kB / 0.9886 GB, free: 18.04 MB / 0.6198 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.001245/0.284, allocations: 0.9931 MB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2842, allocations: 91.91 kB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2842, allocations: 4 kB / 0.9896 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.2843, allocations: 27.92 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2847, allocations: 60.23 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.2871, allocations: 2.205 MB / 0.9919 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.2874, allocations: 0.8177 MB / 0.9927 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.398e-05/0.2875, allocations: 21.55 kB / 0.9927 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2876, allocations: 119.4 kB / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.2876, allocations: 0 / 0.9928 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.3074, allocations: 6.981 MB / 0.9996 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.3077, allocations: 257.4 kB / 0.9999 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.483, allocations: 4.062 kB / 0.9999 GB, free: 6.562 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)