Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001414/0.001414, allocations: 218.6 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8013/0.8013, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002773/0.002773, allocations: 62.34 kB / 0.6185 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1944, allocations: 85.91 MB / 0.7024 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003174/0.1975, allocations: 1.848 MB / 0.7042 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.1978, allocations: 127.9 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.1979, allocations: 7.938 kB / 0.7043 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.198, allocations: 11.86 kB / 0.7044 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.1981, allocations: 47.55 kB / 0.7044 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.1983, allocations: 35.95 kB / 0.7044 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1985, allocations: 171.1 kB / 0.7046 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1986, allocations: 21.23 kB / 0.7046 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.1987, allocations: 59.78 kB / 0.7047 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1988, allocations: 67.75 kB / 0.7047 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1989, allocations: 12 kB / 0.7048 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.1989, allocations: 8 kB / 0.7048 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.1989, allocations: 31.8 kB / 0.7048 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.199, allocations: 63.72 kB / 0.7049 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1992, allocations: 119.5 kB / 0.705 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1992, allocations: 4 kB / 0.705 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1992, allocations: 4 kB / 0.705 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1992, allocations: 0 / 0.705 GB, free: 14.89 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000796/0.2, allocations: 381.6 kB / 0.7053 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2, allocations: 8.031 kB / 0.7053 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.2001, allocations: 42.73 kB / 0.7054 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2001, allocations: 12.89 kB / 0.7054 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.2004, allocations: 160.4 kB / 0.7056 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2004, allocations: 4.375 kB / 0.7056 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2004, allocations: 8.375 kB / 0.7056 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.2007, allocations: 118.5 kB / 0.7057 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2007, allocations: 3.938 kB / 0.7057 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2007, allocations: 7.938 kB / 0.7057 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2007, allocations: 8 kB / 0.7057 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.201, allocations: 91.88 kB / 0.7058 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.2018, allocations: 439.9 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.2021, allocations: 125.2 kB / 0.7063 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2023, allocations: 57.72 kB / 0.7064 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2023, allocations: 0 / 0.7064 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2024, allocations: 46.5 kB / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.2024, allocations: 0 / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006429/0.203, allocations: 181.5 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.2031, allocations: 77.11 kB / 0.7067 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2032, allocations: 171 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2033, allocations: 25.7 kB / 0.7069 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.2033, allocations: 116 kB / 0.707 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.2034, allocations: 27.75 kB / 0.707 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.2034, allocations: 21.7 kB / 0.707 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.2036, allocations: 334.8 kB / 0.7073 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2038, allocations: 39.97 kB / 0.7074 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2039, allocations: 57.69 kB / 0.7074 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.2042, allocations: 105.6 kB / 0.7075 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2042, allocations: 4.25 kB / 0.7075 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003419/0.2045, allocations: 149.5 kB / 0.7077 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2045, allocations: 4 kB / 0.7077 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2046, allocations: 0 / 0.7077 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2046, allocations: 3.938 kB / 0.7077 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2047, allocations: 23.98 kB / 0.7077 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2047, allocations: 0 / 0.7077 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2048, allocations: 23.88 kB / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2048, allocations: 0 / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001012/0.2049, allocations: 117.8 kB / 0.7078 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.205, allocations: 11.95 kB / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.2054, allocations: 166.8 kB / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2054, allocations: 0 / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2054, allocations: 0 / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2054, allocations: 3.938 kB / 0.708 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.2057, allocations: 196.6 kB / 0.7082 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2057, allocations: 7.938 kB / 0.7082 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2059, allocations: 27.91 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2059, allocations: 4 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2059, allocations: 4 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2059, allocations: 0 / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2059, allocations: 192 / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.2064, allocations: 322.5 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.2064, allocations: 11.94 kB / 0.7086 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.2064, allocations: 0 / 0.7086 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.2066, allocations: 8 kB / 0.7086 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.2066, allocations: 12.11 kB / 0.7086 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.2066, allocations: 8 kB / 0.7086 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001139/0.2068, allocations: 137.7 kB / 0.7087 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2068, allocations: 4 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002698/0.207, allocations: 24 kB / 0.7087 GB, free: 10.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0007901/0.2078, allocations: 0.8405 MB / 0.7096 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.2082, allocations: 99.88 kB / 0.7097 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2082, allocations: 0 / 0.7097 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.2083, allocations: 51.91 kB / 0.7097 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2087, allocations: 46.61 kB / 0.7098 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.2111, allocations: 1.825 MB / 0.7115 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2115, allocations: 0.7045 MB / 0.7122 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.37e-05/0.2115, allocations: 12.64 kB / 0.7122 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.2116, allocations: 39.42 kB / 0.7123 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.2116, allocations: 0 / 0.7123 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.2446, allocations: 3.799 MB / 0.716 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.93, allocations: 2.578 kB / 0.716 GB, free: 3.348 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.448971064004581] Failed to read output from testmodel.py, exit status != 0: 11.032334184994397 11.057918932 10.85436515 Calling exit ...