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.001316/0.001316, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001368/0.001368, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.371/1.371, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.8293/0.8293, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.001873/0.001873, allocations: 62.88 kB / 0.6134 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1658, allocations: 85.85 MB / 0.6972 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003081/0.1689, allocations: 1.84 MB / 0.699 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.1692, allocations: 115.9 kB / 0.6991 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.1693, allocations: 7.938 kB / 0.6991 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.1694, allocations: 11.86 kB / 0.6992 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.1695, allocations: 47.56 kB / 0.6992 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1696, allocations: 35.89 kB / 0.6992 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1699, allocations: 175.1 kB / 0.6994 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.17, allocations: 21.03 kB / 0.6994 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.1701, allocations: 59.78 kB / 0.6995 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1702, allocations: 63.77 kB / 0.6995 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1702, allocations: 12 kB / 0.6996 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.1702, allocations: 12 kB / 0.6996 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.1703, allocations: 31.78 kB / 0.6996 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.1703, allocations: 59.73 kB / 0.6997 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1705, allocations: 135.4 kB / 0.6998 GB, free: 340 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1705, allocations: 0 / 0.6998 GB, free: 340 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1705, allocations: 0 / 0.6998 GB, free: 340 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1705, allocations: 0 / 0.6998 GB, free: 340 kB / 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.0008738/0.1714, allocations: 462.7 kB / 0.7002 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1715, allocations: 9.109 kB / 0.7002 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.1715, allocations: 38.75 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1715, allocations: 8.891 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1719, allocations: 216.1 kB / 0.7005 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1719, allocations: 384 / 0.7005 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1719, allocations: 12.38 kB / 0.7005 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1722, allocations: 119.8 kB / 0.7006 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1722, allocations: 3.938 kB / 0.7006 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1722, allocations: 4 kB / 0.7006 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1722, allocations: 7.938 kB / 0.7006 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1725, allocations: 95.88 kB / 0.7007 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.1733, allocations: 472.8 kB / 0.7012 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1737, allocations: 117.2 kB / 0.7013 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1739, allocations: 61.78 kB / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1739, allocations: 0 / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1739, allocations: 38.5 kB / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.1739, allocations: 0 / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006143/0.1745, allocations: 189.4 kB / 0.7016 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1746, allocations: 77.11 kB / 0.7016 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1748, allocations: 162.4 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1748, allocations: 29.7 kB / 0.7018 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.1749, allocations: 112 kB / 0.7019 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1749, allocations: 31.73 kB / 0.7019 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.175, allocations: 21.72 kB / 0.702 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1751, allocations: 330.8 kB / 0.7023 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1753, allocations: 43.97 kB / 0.7023 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1754, allocations: 61.61 kB / 0.7024 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.1757, allocations: 105.6 kB / 0.7025 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1757, allocations: 0 / 0.7025 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000369/0.1761, allocations: 141.5 kB / 0.7026 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1761, allocations: 8 kB / 0.7026 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1761, allocations: 4.312 kB / 0.7026 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1761, allocations: 0 / 0.7026 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1763, allocations: 27.97 kB / 0.7027 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1763, allocations: 0 / 0.7027 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.1764, allocations: 19.89 kB / 0.7027 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1764, allocations: 4 kB / 0.7027 GB, free: 13.09 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.0001149/0.1765, allocations: 121.8 kB / 0.7028 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1766, allocations: 11.95 kB / 0.7028 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.177, allocations: 162.7 kB / 0.703 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.177, allocations: 0 / 0.703 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.177, allocations: 0 / 0.703 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1771, allocations: 7.922 kB / 0.703 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.1774, allocations: 229.5 kB / 0.7032 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1774, allocations: 0 / 0.7032 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1775, allocations: 27.86 kB / 0.7032 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1775, allocations: 0 / 0.7032 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1775, allocations: 4 kB / 0.7032 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1775, allocations: 0 / 0.7032 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1775, allocations: 0 / 0.7032 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.178, allocations: 322.5 kB / 0.7035 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.1781, allocations: 85.06 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1781, allocations: 4 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1782, allocations: 7.984 kB / 0.7036 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1783, allocations: 15.92 kB / 0.7036 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1783, allocations: 4 kB / 0.7036 GB, free: 12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001111/0.1784, allocations: 129.5 kB / 0.7038 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 0 / 0.7038 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002799/0.1787, allocations: 32.28 kB / 0.7038 GB, free: 11.84 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.0007978/0.1795, allocations: 0.8405 MB / 0.7046 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1799, allocations: 103.9 kB / 0.7047 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1799, allocations: 0 / 0.7047 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.18, allocations: 51.91 kB / 0.7048 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1804, allocations: 49.92 kB / 0.7048 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1829, allocations: 1.824 MB / 0.7066 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1833, allocations: 0.7123 MB / 0.7073 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.712e-05/0.1834, allocations: 4.656 kB / 0.7073 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.668e-05/0.1835, allocations: 39.42 kB / 0.7073 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1835, allocations: 4.094 kB / 0.7073 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.2105, allocations: 3.654 MB / 0.7109 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.985, allocations: 6.047 kB / 0.7109 GB, free: 4.605 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 & 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: 11.450519010992139] Failed to read output from testmodel.py, exit status != 0: 8.05026774200087 8.065264561 7.891871412 Calling exit ...