Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007468/0.0007468, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008223/0.0008223, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8577/0.8577, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0347/0.0347, allocations: 12.18 MB / 324.6 MB, free: 6.094 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004135/0.0004135, allocations: 27.94 kB / 384.1 MB, free: 10.52 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.494/1.494, allocations: 353.8 MB / 0.7787 GB, free: 4.562 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 118.4 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1924, allocations: 134.9 MB / 1.192 GB, free: 7.551 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002324/0.1947, allocations: 1.92 MB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1963, allocations: 1.583 MB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.1965, allocations: 8 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1966, allocations: 63.19 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1967, allocations: 91.09 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.1973, allocations: 312.1 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.1979, allocations: 0.6332 MB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1981, allocations: 250.4 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1983, allocations: 239.2 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1985, allocations: 222.8 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.1985, allocations: 72 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1986, allocations: 87.98 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.1987, allocations: 135.5 kB / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1988, allocations: 238.9 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.1993, allocations: 0.8094 MB / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1993, allocations: 0 / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1994, allocations: 0 / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1994, allocations: 4 kB / 1.198 GB, free: 0.8828 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0007804/0.2001, allocations: 0.7602 MB / 1.199 GB, free: 80 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2002, allocations: 8.031 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.931e-05/0.2003, allocations: 98.78 kB / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2004, allocations: 68.55 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.2007, allocations: 290 kB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2008, allocations: 45.67 kB / 1.199 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.2008, allocations: 60.38 kB / 1.199 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.2013, allocations: 0.5071 MB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2013, allocations: 3.938 kB / 1.2 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2014, allocations: 20 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2014, allocations: 12 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.2018, allocations: 357.1 kB / 1.2 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.203, allocations: 1.264 MB / 1.202 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.2034, allocations: 261.3 kB / 1.202 GB, free: 13 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2036, allocations: 173.7 kB / 1.202 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2037, allocations: 8 kB / 1.202 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.204, allocations: 202.9 kB / 1.202 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.204, allocations: 0 / 1.202 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of matching and sorting (n=34): time 0.0005103/0.2045, allocations: 389.4 kB / 1.203 GB, free: 12.21 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2045, allocations: 85.05 kB / 1.203 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.2051, allocations: 421.5 kB / 1.203 GB, free: 11.7 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2051, allocations: 33.7 kB / 1.203 GB, free: 11.66 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.2052, allocations: 272.4 kB / 1.203 GB, free: 11.38 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.2053, allocations: 111 kB / 1.203 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/0.2054, allocations: 86.11 kB / 1.203 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.2054, allocations: 358.7 kB / 1.204 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2056, allocations: 158.5 kB / 1.204 GB, free: 10.66 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2058, allocations: 240.9 kB / 1.204 GB, free: 10.4 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2062, allocations: 359.4 kB / 1.205 GB, free: 10.03 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2062, allocations: 0 / 1.205 GB, free: 10.03 MB / 0.8387 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000496/0.2067, allocations: 0.4897 MB / 1.205 GB, free: 9.52 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.2067, allocations: 45.69 kB / 1.205 GB, free: 9.469 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2067, allocations: 4 kB / 1.205 GB, free: 9.465 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2067, allocations: 7.938 kB / 1.205 GB, free: 9.457 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2069, allocations: 75.91 kB / 1.205 GB, free: 9.383 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2069, allocations: 7.938 kB / 1.205 GB, free: 9.375 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.2071, allocations: 75.53 kB / 1.205 GB, free: 9.301 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2071, allocations: 23.98 kB / 1.205 GB, free: 9.277 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001305/0.2072, allocations: 173.7 kB / 1.205 GB, free: 9.098 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.2072, allocations: 39.72 kB / 1.205 GB, free: 9.059 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.2076, allocations: 326.8 kB / 1.206 GB, free: 8.73 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2076, allocations: 7.938 kB / 1.206 GB, free: 8.723 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2076, allocations: 4 kB / 1.206 GB, free: 8.719 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2076, allocations: 3.984 kB / 1.206 GB, free: 8.715 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.2084, allocations: 0.888 MB / 1.207 GB, free: 7.758 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2084, allocations: 4 kB / 1.207 GB, free: 7.754 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.2085, allocations: 55.91 kB / 1.207 GB, free: 7.699 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2085, allocations: 4 kB / 1.207 GB, free: 7.695 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2085, allocations: 8 kB / 1.207 GB, free: 7.688 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2085, allocations: 4 kB / 1.207 GB, free: 7.684 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2085, allocations: 3.984 kB / 1.207 GB, free: 7.68 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.2089, allocations: 0.519 MB / 1.207 GB, free: 7.125 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.2089, allocations: 51.64 kB / 1.207 GB, free: 7.074 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2089, allocations: 12 kB / 1.207 GB, free: 7.062 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.209, allocations: 15.98 kB / 1.207 GB, free: 7.047 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2091, allocations: 27.89 kB / 1.207 GB, free: 7.02 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2091, allocations: 12 kB / 1.207 GB, free: 7.008 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001869/0.2093, allocations: 287.2 kB / 1.208 GB, free: 6.734 MB / 0.8387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2093, allocations: 7.938 kB / 1.208 GB, free: 6.727 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002879/0.2096, allocations: 111.7 kB / 1.208 GB, free: 6.617 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005622/0.2101, allocations: 1.057 MB / 1.209 GB, free: 5.516 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.2106, allocations: 394.8 kB / 1.209 GB, free: 5.113 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2106, allocations: 8.062 kB / 1.209 GB, free: 5.105 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.2107, allocations: 126 kB / 1.209 GB, free: 4.984 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2111, allocations: 75.78 kB / 1.209 GB, free: 4.91 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.2143, allocations: 3.903 MB / 1.213 GB, free: 0.8047 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2145, allocations: 220.7 kB / 1.213 GB, free: 0.5703 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.2146, allocations: 51.19 kB / 1.213 GB, free: 0.5195 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2147, allocations: 155.4 kB / 1.214 GB, free: 376 kB / 0.8387 GB Notification: Performance of SimCode: time 9.52e-07/0.2147, allocations: 0 / 1.214 GB, free: 376 kB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.2331, allocations: 8.027 MB / 1.221 GB, free: 8.543 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.207/6.44, allocations: 20.56 kB / 1.221 GB, free: 8.531 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > AixLib_AixLib.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.349553090520203] Failed to read output from testmodel.py, exit status != 0: 6.518469097092748 6.526077201 6.325226397 Calling exit ...