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.001264/0.001264, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.781 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.8032/0.8032, allocations: 134 MB / 446.4 MB, free: 9.914 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.002012/0.002012, allocations: 67.72 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1569, allocations: 85.91 MB / 0.7023 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003049/0.1599, allocations: 1.771 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.1602, allocations: 131.8 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.1603, allocations: 4 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1604, allocations: 15.8 kB / 0.7042 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.1605, allocations: 43.56 kB / 0.7043 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.1606, allocations: 31.95 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1608, allocations: 175.1 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1609, allocations: 17.23 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.161, allocations: 59.84 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1611, allocations: 67.69 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1612, allocations: 11.94 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.1612, allocations: 8 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.1612, allocations: 23.92 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.1613, allocations: 59.72 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1615, allocations: 131.4 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1615, allocations: 0 / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1615, allocations: 4 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.1615, allocations: 0 / 0.7048 GB, free: 14.52 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.0007616/0.1622, allocations: 377.6 kB / 0.7052 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1623, allocations: 12.03 kB / 0.7052 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1623, allocations: 38.73 kB / 0.7052 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1624, allocations: 12.89 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1627, allocations: 158.2 kB / 0.7054 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1627, allocations: 4.375 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1627, allocations: 4.375 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.163, allocations: 122.7 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.163, allocations: 3.938 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.163, allocations: 7.984 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.163, allocations: 4 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.1633, allocations: 87.88 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.164, allocations: 427.9 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.1644, allocations: 121.2 kB / 0.7061 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1645, allocations: 53.78 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1646, allocations: 4 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1646, allocations: 38.5 kB / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1646, allocations: 0 / 0.7062 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000559/0.1652, allocations: 181.5 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1652, allocations: 85.05 kB / 0.7065 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.1654, allocations: 171 kB / 0.7067 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1654, allocations: 25.7 kB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.1655, allocations: 108.1 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1655, allocations: 31.73 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.1656, allocations: 21.72 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1657, allocations: 334.8 kB / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1658, allocations: 35.97 kB / 0.7072 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.166, allocations: 69.61 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1663, allocations: 105.9 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1663, allocations: 0 / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003426/0.1666, allocations: 145.5 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1666, allocations: 11.94 kB / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1666, allocations: 0 / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1667, allocations: 0 / 0.7075 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1668, allocations: 27.91 kB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1668, allocations: 7.984 kB / 0.7075 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1669, allocations: 15.89 kB / 0.7076 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1669, allocations: 4 kB / 0.7076 GB, free: 11.49 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.849e-05/0.167, allocations: 121.8 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.1671, allocations: 11.95 kB / 0.7077 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.1675, allocations: 158.6 kB / 0.7078 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1675, allocations: 0 / 0.7078 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1675, allocations: 0 / 0.7078 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1675, allocations: 8.156 kB / 0.7078 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1678, allocations: 180.7 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1678, allocations: 4 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1679, allocations: 27.91 kB / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1679, allocations: 4 kB / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1679, allocations: 4 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1679, allocations: 0 / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1679, allocations: 192 / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.1684, allocations: 318.6 kB / 0.7084 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.1684, allocations: 11.94 kB / 0.7084 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1684, allocations: 8 kB / 0.7084 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.1686, allocations: 7.984 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.1686, allocations: 15.92 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1686, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00011/0.1687, allocations: 133.8 kB / 0.7085 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1687, allocations: 0 / 0.7085 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002746/0.169, allocations: 24 kB / 0.7085 GB, free: 10.4 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.0007455/0.1698, allocations: 0.8485 MB / 0.7094 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1701, allocations: 95.88 kB / 0.7095 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1701, allocations: 0 / 0.7095 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1702, allocations: 55.91 kB / 0.7095 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1707, allocations: 42.62 kB / 0.7096 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1729, allocations: 1.831 MB / 0.7113 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.194e-05/0.173, allocations: 97.61 kB / 0.7114 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.1731, allocations: 12.66 kB / 0.7115 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.1732, allocations: 35.42 kB / 0.7115 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.1732, allocations: 0 / 0.7115 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.2059, allocations: 4.49 MB / 0.7159 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.89, allocations: 6.406 kB / 0.7159 GB, free: 2.965 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 & 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: 14.36567467590794] Failed to read output from testmodel.py, exit status != 0: 10.99039922002703 11.007981177 10.843658062 Calling exit ...