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.001324/0.001324, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001635/0.001635, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.801 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.7922/0.7922, allocations: 134 MB / 446.4 MB, free: 9.957 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.001969/0.001969, allocations: 68.78 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 85.9 MB / 0.7023 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003156/0.1694, allocations: 1.774 MB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.1697, allocations: 115.9 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1698, allocations: 7.938 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1699, allocations: 19.78 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.17, allocations: 51.56 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.1701, allocations: 31.95 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1704, allocations: 171.1 kB / 0.7045 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1705, allocations: 21.25 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.1705, allocations: 51.84 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1707, allocations: 75.67 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1707, allocations: 8 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.1707, allocations: 12 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.1707, allocations: 19.92 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.1708, allocations: 55.67 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.171, allocations: 127.5 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.171, allocations: 3.938 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.171, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.171, allocations: 0 / 0.7048 GB, free: 14.54 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.0007466/0.1717, allocations: 385.6 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1718, allocations: 8.031 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.1718, allocations: 38.75 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.1719, allocations: 12.89 kB / 0.7052 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1721, allocations: 158.2 kB / 0.7054 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1721, allocations: 8.312 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1721, allocations: 8.375 kB / 0.7054 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1724, allocations: 119.8 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1724, allocations: 3.938 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1724, allocations: 7.984 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1724, allocations: 0 / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1727, allocations: 99.86 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.1734, allocations: 424 kB / 0.706 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.1738, allocations: 121.2 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.174, allocations: 57.78 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.174, allocations: 0 / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.174, allocations: 38.5 kB / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.174, allocations: 0 / 0.7062 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000552/0.1746, allocations: 181.5 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1746, allocations: 85.09 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1748, allocations: 167 kB / 0.7067 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1748, allocations: 29.7 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.1749, allocations: 108.1 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1749, allocations: 27.73 kB / 0.7068 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.175, allocations: 25.72 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1751, allocations: 326.8 kB / 0.7071 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1753, allocations: 47.97 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1754, allocations: 57.69 kB / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1757, allocations: 109.6 kB / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1757, allocations: 256 / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003412/0.176, allocations: 149.5 kB / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.176, allocations: 4 kB / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.176, allocations: 0 / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1761, allocations: 3.938 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1762, allocations: 27.92 kB / 0.7075 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1762, allocations: 0 / 0.7075 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1763, allocations: 19.88 kB / 0.7075 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1763, allocations: 0 / 0.7075 GB, free: 11.51 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.818e-05/0.1764, allocations: 125.8 kB / 0.7077 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.1765, allocations: 11.94 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.1769, allocations: 158.8 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1769, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1769, allocations: 7.938 kB / 0.7078 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1769, allocations: 3.938 kB / 0.7078 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1772, allocations: 176.7 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1772, allocations: 4 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1773, allocations: 31.91 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1773, allocations: 0 / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1773, allocations: 0 / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1773, allocations: 4 kB / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1773, allocations: 0 / 0.708 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1777, allocations: 314.6 kB / 0.7083 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.1778, allocations: 7.953 kB / 0.7084 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1778, allocations: 7.984 kB / 0.7084 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.178, allocations: 8.188 kB / 0.7084 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.178, allocations: 12.16 kB / 0.7084 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.178, allocations: 8 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001027/0.1781, allocations: 133.7 kB / 0.7085 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1781, allocations: 0 / 0.7085 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002786/0.1784, allocations: 32 kB / 0.7085 GB, free: 10.41 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.0007391/0.1791, allocations: 0.8405 MB / 0.7094 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1795, allocations: 103.9 kB / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1795, allocations: 0 / 0.7095 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1796, allocations: 47.91 kB / 0.7095 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.18, allocations: 51.38 kB / 0.7096 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1824, allocations: 1.825 MB / 0.7113 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.1825, allocations: 89.62 kB / 0.7114 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.1826, allocations: 16.64 kB / 0.7114 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.1827, allocations: 35.42 kB / 0.7115 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1827, allocations: 0 / 0.7115 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.2148, allocations: 4.493 MB / 0.7159 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.81, allocations: 13.88 kB / 0.7159 GB, free: 2.977 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.177682645153254] Failed to read output from testmodel.py, exit status != 0: 10.918851495254785 10.941864803 10.766998186 Calling exit ...