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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 105.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] 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.7789/0.7789, allocations: 134 MB / 436.6 MB, free: 1.25 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.67 kB / 0.6051 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 84.68 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002952/0.1608, allocations: 1.824 MB / 0.6895 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.161, allocations: 119.9 kB / 0.6897 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.1611, allocations: 3.938 kB / 0.6897 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.1612, allocations: 15.86 kB / 0.6897 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.052e-05/0.1613, allocations: 51.55 kB / 0.6897 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.1614, allocations: 31.95 kB / 0.6898 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1617, allocations: 171.1 kB / 0.6899 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1618, allocations: 17.06 kB / 0.6899 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.1619, allocations: 59.78 kB / 0.69 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.162, allocations: 71.73 kB / 0.6901 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.162, allocations: 12 kB / 0.6901 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.162, allocations: 12 kB / 0.6901 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.162, allocations: 15.92 kB / 0.6901 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.1621, allocations: 75.59 kB / 0.6902 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1623, allocations: 119.5 kB / 0.6903 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1623, allocations: 0 / 0.6903 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1623, allocations: 0 / 0.6903 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1623, allocations: 0 / 0.6903 GB, free: 8.508 MB / 0.5137 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.0008112/0.1631, allocations: 461 kB / 0.6907 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1632, allocations: 12.02 kB / 0.6907 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1632, allocations: 38.75 kB / 0.6908 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1632, allocations: 16.84 kB / 0.6908 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1635, allocations: 213.6 kB / 0.691 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1635, allocations: 4.375 kB / 0.691 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1635, allocations: 8.375 kB / 0.691 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1638, allocations: 122.4 kB / 0.6911 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1638, allocations: 3.938 kB / 0.6911 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1638, allocations: 8 kB / 0.6911 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1638, allocations: 0 / 0.6911 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.1641, allocations: 95.86 kB / 0.6912 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.1649, allocations: 476.8 kB / 0.6917 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.1652, allocations: 125.2 kB / 0.6918 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1654, allocations: 57.77 kB / 0.6919 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1654, allocations: 7.938 kB / 0.6919 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1654, allocations: 34.5 kB / 0.6919 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1654, allocations: 0 / 0.6919 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005549/0.166, allocations: 185.6 kB / 0.6921 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.166, allocations: 77.11 kB / 0.6922 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1662, allocations: 174.9 kB / 0.6923 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1662, allocations: 33.64 kB / 0.6924 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.1663, allocations: 112 kB / 0.6925 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1663, allocations: 27.75 kB / 0.6925 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.1664, allocations: 25.7 kB / 0.6925 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1665, allocations: 326.8 kB / 0.6928 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1666, allocations: 43.97 kB / 0.6929 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1668, allocations: 53.69 kB / 0.6929 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.167, allocations: 113.6 kB / 0.693 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.167, allocations: 0 / 0.693 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003273/0.1674, allocations: 145.6 kB / 0.6932 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1674, allocations: 4 kB / 0.6932 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1674, allocations: 0 / 0.6932 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1674, allocations: 4 kB / 0.6932 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1676, allocations: 24.3 kB / 0.6932 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1676, allocations: 7.984 kB / 0.6932 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1677, allocations: 15.92 kB / 0.6932 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1677, allocations: 4 kB / 0.6932 GB, free: 5.242 MB / 0.5137 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.0001026/0.1678, allocations: 121.8 kB / 0.6933 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.1678, allocations: 11.91 kB / 0.6933 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.1682, allocations: 162.5 kB / 0.6935 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1682, allocations: 0 / 0.6935 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1682, allocations: 0 / 0.6935 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1683, allocations: 7.938 kB / 0.6935 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1685, allocations: 221.6 kB / 0.6937 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1685, allocations: 0 / 0.6937 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1687, allocations: 27.91 kB / 0.6937 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1687, allocations: 4 kB / 0.6937 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1687, allocations: 0 / 0.6937 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1687, allocations: 0 / 0.6937 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1687, allocations: 4 kB / 0.6938 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1691, allocations: 318.7 kB / 0.6941 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.1692, allocations: 89.02 kB / 0.6941 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1692, allocations: 8.078 kB / 0.6941 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1694, allocations: 15.94 kB / 0.6942 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.1694, allocations: 11.92 kB / 0.6942 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1694, allocations: 4 kB / 0.6942 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001001/0.1695, allocations: 126 kB / 0.6943 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1695, allocations: 0 / 0.6943 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002777/0.1698, allocations: 28 kB / 0.6943 GB, free: 4.008 MB / 0.5137 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.0006995/0.1705, allocations: 0.8444 MB / 0.6952 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1708, allocations: 103.9 kB / 0.6953 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1708, allocations: 0 / 0.6953 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.171, allocations: 51.91 kB / 0.6953 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1714, allocations: 43.62 kB / 0.6953 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.1736, allocations: 1.825 MB / 0.6971 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1739, allocations: 0.7045 MB / 0.6978 GB, free: 300 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.724e-05/0.174, allocations: 24.48 kB / 0.6978 GB, free: 276 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.174, allocations: 35.44 kB / 0.6979 GB, free: 240 kB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.174, allocations: 0 / 0.6979 GB, free: 240 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.2006, allocations: 3.644 MB / 0.7014 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.921, allocations: 7.062 kB / 0.7014 GB, free: 12.77 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.159603271167725] Failed to read output from testmodel.py, exit status != 0: 7.987908679060638 8.013007237 7.846337646 Calling exit ...