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.00125/0.00125, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001333/0.001333, allocations: 217.2 kB / 23.03 MB, free: 4.949 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8276/0.8276, allocations: 134 MB / 447.2 MB, free: 9.965 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="cs",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.001823/0.001823, allocations: 66.88 kB / 0.6192 GB, free: 6.969 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1649, allocations: 85.91 MB / 0.7031 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002955/0.1679, allocations: 1.767 MB / 0.7048 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.1682, allocations: 127.8 kB / 0.705 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1683, allocations: 0 / 0.705 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1684, allocations: 11.86 kB / 0.705 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1685, allocations: 55.5 kB / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1686, allocations: 35.95 kB / 0.7051 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1688, allocations: 163.2 kB / 0.7052 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.169, allocations: 25.23 kB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.169, allocations: 63.72 kB / 0.7053 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1692, allocations: 63.75 kB / 0.7054 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1692, allocations: 8 kB / 0.7054 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.1692, allocations: 12 kB / 0.7054 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.1693, allocations: 23.92 kB / 0.7054 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.1693, allocations: 59.72 kB / 0.7055 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1695, allocations: 131.4 kB / 0.7056 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1695, allocations: 0 / 0.7056 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1695, allocations: 4 kB / 0.7056 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1695, allocations: 0 / 0.7056 GB, free: 14.6 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.0007853/0.1703, allocations: 377.6 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1703, allocations: 8.031 kB / 0.706 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.1704, allocations: 8.188 kB / 0.706 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.1704, allocations: 38.73 kB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.1704, allocations: 16.89 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1707, allocations: 156.4 kB / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1707, allocations: 4.375 kB / 0.7062 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1707, allocations: 4.375 kB / 0.7062 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.171, allocations: 130.4 kB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.171, allocations: 7.922 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.171, allocations: 0 / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1711, allocations: 4 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1713, allocations: 95.94 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.172, allocations: 419.9 kB / 0.7068 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.1724, allocations: 121.2 kB / 0.7069 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1726, allocations: 61.78 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1726, allocations: 4 kB / 0.707 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1726, allocations: 34.5 kB / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1726, allocations: 0 / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005669/0.1732, allocations: 189.4 kB / 0.7072 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1733, allocations: 81.11 kB / 0.7073 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1734, allocations: 167 kB / 0.7074 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1734, allocations: 29.7 kB / 0.7075 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.1735, allocations: 112 kB / 0.7076 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1736, allocations: 31.73 kB / 0.7076 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.1736, allocations: 21.72 kB / 0.7076 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1738, allocations: 330.8 kB / 0.7079 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1739, allocations: 35.97 kB / 0.708 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1741, allocations: 65.61 kB / 0.708 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.1743, allocations: 101.7 kB / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1743, allocations: 0 / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003453/0.1747, allocations: 145.7 kB / 0.7083 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1747, allocations: 8 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1747, allocations: 3.938 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1747, allocations: 0 / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1749, allocations: 31.97 kB / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1749, allocations: 7.984 kB / 0.7083 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.175, allocations: 11.89 kB / 0.7083 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.175, allocations: 7.984 kB / 0.7083 GB, free: 11.56 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.0001025/0.1751, allocations: 117.8 kB / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.1751, allocations: 15.95 kB / 0.7085 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.1756, allocations: 159 kB / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1756, allocations: 4 kB / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1756, allocations: 64 / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1756, allocations: 11.92 kB / 0.7086 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1758, allocations: 176.7 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1758, allocations: 0 / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.176, allocations: 23.98 kB / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.176, allocations: 4 kB / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.176, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.176, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.176, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.1764, allocations: 318.6 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.1764, allocations: 16.11 kB / 0.7091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1765, allocations: 4 kB / 0.7091 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1766, allocations: 11.98 kB / 0.7092 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1767, allocations: 15.91 kB / 0.7092 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1767, allocations: 0 / 0.7092 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001102/0.1768, allocations: 133.8 kB / 0.7093 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1768, allocations: 0 / 0.7093 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002719/0.1771, allocations: 28 kB / 0.7093 GB, free: 10.47 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.0007502/0.1778, allocations: 0.8445 MB / 0.7101 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.1781, allocations: 95.88 kB / 0.7102 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1781, allocations: 4 kB / 0.7102 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1783, allocations: 55.91 kB / 0.7103 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1787, allocations: 40.28 kB / 0.7103 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.181, allocations: 1.832 MB / 0.7121 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.1811, allocations: 93.61 kB / 0.7122 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.1812, allocations: 8.656 kB / 0.7122 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.1812, allocations: 39.36 kB / 0.7123 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1812, allocations: 0 / 0.7123 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2051, allocations: 4.145 MB / 0.7163 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11, allocations: 1.75 kB / 0.7163 GB, free: 3.391 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.468469644081779] Failed to read output from testmodel.py, exit status != 0: 11.159954934031703 11.187688382 11.013306399 Calling exit ...