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.001299/0.001299, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002167/0.002167, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8079/0.8079, allocations: 134 MB / 447.2 MB, free: 10.28 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.001891/0.001891, allocations: 70.38 kB / 0.6193 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1717, allocations: 85.9 MB / 0.7032 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003424/0.1751, allocations: 1.86 MB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003395/0.1754, allocations: 123.9 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.1755, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1757, allocations: 15.86 kB / 0.7051 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1758, allocations: 47.5 kB / 0.7052 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1759, allocations: 35.95 kB / 0.7052 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.1762, allocations: 167.2 kB / 0.7054 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1763, allocations: 25.22 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.1764, allocations: 59.73 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1765, allocations: 67.75 kB / 0.7055 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.1766, allocations: 12 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.1766, allocations: 8 kB / 0.7055 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.1766, allocations: 23.92 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.1767, allocations: 67.66 kB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1769, allocations: 127.5 kB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1769, allocations: 4 kB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1769, allocations: 0 / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1769, allocations: 0 / 0.7057 GB, free: 14.81 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.0007888/0.1777, allocations: 377.6 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1777, allocations: 8.031 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.1778, allocations: 12.19 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.1778, allocations: 38.73 kB / 0.7062 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1778, allocations: 12.89 kB / 0.7062 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1781, allocations: 152.4 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1781, allocations: 8.375 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1781, allocations: 4.375 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1785, allocations: 133.8 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1785, allocations: 7.938 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1785, allocations: 3.938 kB / 0.7065 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1785, allocations: 0 / 0.7065 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.1788, allocations: 91.94 kB / 0.7066 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.1795, allocations: 447.8 kB / 0.707 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1799, allocations: 125.2 kB / 0.7071 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1801, allocations: 57.78 kB / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1801, allocations: 4 kB / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1801, allocations: 30.56 kB / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1801, allocations: 0 / 0.7072 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0005871/0.1807, allocations: 181.5 kB / 0.7074 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1808, allocations: 89.09 kB / 0.7074 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1809, allocations: 167 kB / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.181, allocations: 29.7 kB / 0.7076 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.181, allocations: 108 kB / 0.7077 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.1811, allocations: 31.81 kB / 0.7078 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.1811, allocations: 29.72 kB / 0.7078 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1813, allocations: 318.8 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1814, allocations: 43.97 kB / 0.7081 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1816, allocations: 61.62 kB / 0.7082 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1819, allocations: 105.9 kB / 0.7083 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1819, allocations: 0 / 0.7083 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003575/0.1822, allocations: 149.5 kB / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1823, allocations: 4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1823, allocations: 4 kB / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1823, allocations: 0 / 0.7084 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1824, allocations: 23.98 kB / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1824, allocations: 0 / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1825, allocations: 19.88 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1825, allocations: 4 kB / 0.7085 GB, free: 11.75 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.0001121/0.1827, allocations: 125.8 kB / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.1827, allocations: 15.94 kB / 0.7086 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.1831, allocations: 150.6 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1831, allocations: 7.938 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1831, allocations: 0 / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1832, allocations: 8.125 kB / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1835, allocations: 196.6 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1835, allocations: 3.938 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1836, allocations: 23.97 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1836, allocations: 0 / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1836, allocations: 4.125 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1836, allocations: 8 kB / 0.709 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1836, allocations: 0 / 0.709 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.184, allocations: 314.8 kB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.1841, allocations: 11.94 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1841, allocations: 7.984 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.1843, allocations: 11.98 kB / 0.7093 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1843, allocations: 7.938 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1843, allocations: 7.984 kB / 0.7094 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001161/0.1844, allocations: 133.8 kB / 0.7095 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1844, allocations: 0 / 0.7095 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002721/0.1847, allocations: 28 kB / 0.7095 GB, free: 10.64 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.0007664/0.1855, allocations: 0.8444 MB / 0.7103 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.1858, allocations: 91.94 kB / 0.7104 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1858, allocations: 0 / 0.7104 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.186, allocations: 51.91 kB / 0.7105 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1864, allocations: 52.41 kB / 0.7105 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1889, allocations: 1.829 MB / 0.7123 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1892, allocations: 0.7045 MB / 0.713 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.1893, allocations: 12.66 kB / 0.713 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.1894, allocations: 35.42 kB / 0.713 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.1894, allocations: 0 / 0.713 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.2147, allocations: 3.819 MB / 0.7168 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.82, allocations: 12.72 kB / 0.7168 GB, free: 3.238 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.292187993996777] Failed to read output from testmodel.py, exit status != 0: 10.977547082002275 11.001876618 10.820800734 Calling exit ...