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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.654/1.654, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001498/0.001498, allocations: 70.3 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1873, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003516/0.1909, allocations: 2.186 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1927, allocations: 1.297 MB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1928, allocations: 3.938 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.1934, allocations: 191.9 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00031/0.1937, allocations: 123.4 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.194, allocations: 123.3 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1943, allocations: 223.2 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1944, allocations: 48.31 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1946, allocations: 91.58 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1947, allocations: 99.48 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1948, allocations: 12 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1949, allocations: 55.95 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.195, allocations: 87.69 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1951, allocations: 146.8 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1955, allocations: 346.7 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1955, allocations: 0 / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1955, allocations: 0 / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.1955, allocations: 4 kB / 0.7884 GB, free: 8.328 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.0008568/0.1964, allocations: 0.6686 MB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1964, allocations: 12.03 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.1965, allocations: 30.75 kB / 0.7891 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.1965, allocations: 48.38 kB / 0.7891 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1969, allocations: 364.1 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1969, allocations: 8.125 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.197, allocations: 4 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1971, allocations: 77.66 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1972, allocations: 0 / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1972, allocations: 0 / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1972, allocations: 3.938 kB / 0.7895 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.1973, allocations: 35.98 kB / 0.7896 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.1979, allocations: 460.5 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1981, allocations: 70.67 kB / 0.7901 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1981, allocations: 28.84 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1982, allocations: 0 / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.1983, allocations: 83.31 kB / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1983, allocations: 0 / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003161/0.1987, allocations: 141 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1987, allocations: 55.41 kB / 0.7904 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.1992, allocations: 0.5294 MB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1992, allocations: 33.7 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1994, allocations: 215.9 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1994, allocations: 23.89 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.1995, allocations: 53.48 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1996, allocations: 354.8 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.1997, allocations: 51.97 kB / 0.7916 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1998, allocations: 74.55 kB / 0.7917 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.2, allocations: 81.7 kB / 0.7917 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2, allocations: 0 / 0.7917 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002907/0.2003, allocations: 197 kB / 0.7919 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2003, allocations: 6.656 kB / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2003, allocations: 0 / 0.7919 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2003, allocations: 7.938 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2005, allocations: 23.98 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2005, allocations: 12 kB / 0.792 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2006, allocations: 7.984 kB / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.2006, allocations: 4 kB / 0.792 GB, free: 4.363 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.0001582/0.2008, allocations: 184.2 kB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2008, allocations: 39.44 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.2009, allocations: 51.78 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2009, allocations: 3.938 kB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2009, allocations: 4 kB / 0.7923 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2009, allocations: 4 kB / 0.7923 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2012, allocations: 293.5 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2012, allocations: 4 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.2012, allocations: 4 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.2012, allocations: 4 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2012, allocations: 0 / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2012, allocations: 4.188 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.2013, allocations: 11.92 kB / 0.7926 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2015, allocations: 148.5 kB / 0.7927 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.2016, allocations: 116.6 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.2016, allocations: 4 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.2017, allocations: 7.922 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.2017, allocations: 15.98 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2018, allocations: 0 / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003426/0.2021, allocations: 362.8 kB / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2021, allocations: 0 / 0.7932 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002574/0.2024, allocations: 51.89 kB / 0.7932 GB, free: 2.98 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.001304/0.2037, allocations: 0.9948 MB / 0.7942 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.2039, allocations: 99.89 kB / 0.7943 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.204, allocations: 0 / 0.7943 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.272e-05/0.204, allocations: 28.06 kB / 0.7943 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.2044, allocations: 67.88 kB / 0.7944 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.2076, allocations: 3.103 MB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.208, allocations: 0.8138 MB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.009e-05/0.2081, allocations: 29.47 kB / 0.7983 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2082, allocations: 115.4 kB / 0.7984 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2082, allocations: 0 / 0.7984 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3107/0.5189, allocations: 7.137 MB / 0.8053 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/8.335, allocations: 10.28 kB / 0.8053 GB, free: 6.781 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)