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.001209/0.001209, 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.001496/0.001496, allocations: 218 kB / 22.25 MB, free: 5.121 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.98 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.8403/0.8403, allocations: 134 MB / 446.4 MB, free: 10.23 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.002095/0.002095, allocations: 68.39 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1586, allocations: 85.9 MB / 0.7024 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00337/0.162, allocations: 1.844 MB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.1624, allocations: 119.8 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1626, allocations: 4 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1627, allocations: 15.8 kB / 0.7043 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1628, allocations: 55.55 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.163, allocations: 35.89 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1633, allocations: 171.1 kB / 0.7046 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1634, allocations: 21.23 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1635, allocations: 59.78 kB / 0.7047 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1636, allocations: 63.75 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.1637, allocations: 12 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.743e-05/0.1637, allocations: 8 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.1637, allocations: 31.86 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.1638, allocations: 63.72 kB / 0.7048 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.164, allocations: 127.4 kB / 0.705 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1641, allocations: 0 / 0.705 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1641, allocations: 0 / 0.705 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1641, allocations: 0 / 0.705 GB, free: 14.8 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.0008222/0.1649, allocations: 385.6 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1649, allocations: 8.031 kB / 0.7053 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.165, allocations: 42.73 kB / 0.7054 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.165, allocations: 12.89 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1653, allocations: 150.2 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1653, allocations: 8.375 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1653, allocations: 8.375 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1656, allocations: 129.9 kB / 0.7057 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1657, allocations: 7.875 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1657, allocations: 4 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1657, allocations: 0 / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.166, allocations: 91.94 kB / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.1667, allocations: 443.8 kB / 0.7062 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.1671, allocations: 125.2 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1673, allocations: 57.78 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1673, allocations: 4 kB / 0.7064 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1673, allocations: 30.56 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1673, allocations: 0 / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005675/0.1679, allocations: 185.5 kB / 0.7066 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.168, allocations: 81.09 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1681, allocations: 163.1 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1682, allocations: 29.7 kB / 0.7068 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1682, allocations: 112 kB / 0.707 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.1683, allocations: 35.67 kB / 0.707 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.1683, allocations: 21.72 kB / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1685, allocations: 334.8 kB / 0.7073 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1686, allocations: 43.97 kB / 0.7074 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1687, allocations: 57.62 kB / 0.7074 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.169, allocations: 105.7 kB / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.169, allocations: 4 kB / 0.7075 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003409/0.1694, allocations: 145.9 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1694, allocations: 4 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1694, allocations: 192 / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1694, allocations: 0 / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1696, allocations: 27.98 kB / 0.7077 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1696, allocations: 3.938 kB / 0.7077 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1697, allocations: 27.86 kB / 0.7077 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1697, allocations: 0 / 0.7077 GB, free: 11.73 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 9.497e-05/0.1698, allocations: 117.8 kB / 0.7078 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1698, allocations: 15.94 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.1702, allocations: 154.6 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1702, allocations: 4 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1702, allocations: 0 / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1703, allocations: 7.938 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1705, allocations: 200.6 kB / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1705, allocations: 0 / 0.7082 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1707, allocations: 23.97 kB / 0.7082 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1707, allocations: 4 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1707, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1707, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.1707, allocations: 3.984 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.1711, allocations: 318.6 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1711, allocations: 11.94 kB / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1712, allocations: 4 kB / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1713, allocations: 8 kB / 0.7086 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1714, allocations: 19.86 kB / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1714, allocations: 3.984 kB / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001044/0.1715, allocations: 133.8 kB / 0.7087 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1715, allocations: 288 / 0.7087 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002783/0.1718, allocations: 28 kB / 0.7087 GB, free: 10.63 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.000701/0.1725, allocations: 0.8444 MB / 0.7096 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1728, allocations: 99.88 kB / 0.7097 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1728, allocations: 0 / 0.7097 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1729, allocations: 52.22 kB / 0.7097 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1734, allocations: 46.22 kB / 0.7098 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.1756, allocations: 1.825 MB / 0.7115 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.176, allocations: 0.7123 MB / 0.7122 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.707e-05/0.176, allocations: 8.781 kB / 0.7122 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.1761, allocations: 35.52 kB / 0.7123 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.1761, allocations: 7.938 kB / 0.7123 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.208, allocations: 3.788 MB / 0.716 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.72, allocations: 2.734 kB / 0.716 GB, free: 3.246 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 sys.exit(0), Time elapsed: 14.19934184406884] Failed to read output from testmodel.py, exit status != 0: 10.821928601944819 10.849095829 10.680137063 Calling exit ...