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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004696/0.004696, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.25 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.154, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002963/0.157, allocations: 1.815 MB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.1574, allocations: 119.6 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1575, allocations: 3.938 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1576, allocations: 11.86 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1578, allocations: 47.56 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.1579, allocations: 39.94 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1582, allocations: 171.1 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1583, allocations: 25.09 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.1584, allocations: 51.86 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1585, allocations: 67.69 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1586, allocations: 12 kB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.1586, allocations: 12 kB / 0.6615 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1586, allocations: 23.91 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1587, allocations: 67.66 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1589, allocations: 135.1 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.1589, allocations: 3.984 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1589, allocations: 0 / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.1589, allocations: 0 / 0.6617 GB, free: 11.43 MB / 0.4981 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.0008125/0.1598, allocations: 450.9 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1598, allocations: 8.031 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1599, allocations: 38.75 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1599, allocations: 16.75 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1602, allocations: 204.9 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1602, allocations: 8.375 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1602, allocations: 4.375 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.1605, allocations: 123.8 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1605, allocations: 3.938 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1605, allocations: 4 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1605, allocations: 3.984 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1608, allocations: 99.86 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.1615, allocations: 472.7 kB / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1619, allocations: 137.2 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1621, allocations: 57.78 kB / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1621, allocations: 0 / 0.6632 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1621, allocations: 38.5 kB / 0.6633 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1621, allocations: 0 / 0.6633 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005529/0.1627, allocations: 181.5 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1628, allocations: 89.03 kB / 0.6635 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1629, allocations: 168.4 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.163, allocations: 25.7 kB / 0.6637 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.163, allocations: 112 kB / 0.6638 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1631, allocations: 35.61 kB / 0.6639 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.1631, allocations: 29.66 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1633, allocations: 330.8 kB / 0.6642 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1634, allocations: 35.97 kB / 0.6642 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1635, allocations: 57.69 kB / 0.6643 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.1638, allocations: 109.6 kB / 0.6644 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1638, allocations: 0 / 0.6644 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003206/0.1641, allocations: 141.5 kB / 0.6645 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1642, allocations: 4 kB / 0.6645 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1642, allocations: 4 kB / 0.6645 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1642, allocations: 0 / 0.6645 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1643, allocations: 23.92 kB / 0.6646 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1644, allocations: 8 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.1645, allocations: 15.92 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1645, allocations: 4 kB / 0.6646 GB, free: 8.172 MB / 0.4981 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.712e-05/0.1646, allocations: 113.8 kB / 0.6647 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.1647, allocations: 19.8 kB / 0.6647 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.1651, allocations: 158.9 kB / 0.6649 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1651, allocations: 4 kB / 0.6649 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1651, allocations: 4.062 kB / 0.6649 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1651, allocations: 3.938 kB / 0.6649 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1654, allocations: 217.5 kB / 0.6651 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1654, allocations: 3.984 kB / 0.6651 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1655, allocations: 23.92 kB / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1655, allocations: 0 / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1656, allocations: 4 kB / 0.6651 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1656, allocations: 8.188 kB / 0.6651 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1656, allocations: 0 / 0.6651 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.166, allocations: 314.4 kB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.166, allocations: 89 kB / 0.6655 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1661, allocations: 4 kB / 0.6655 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1662, allocations: 11.98 kB / 0.6655 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1663, allocations: 12.17 kB / 0.6655 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1663, allocations: 4 kB / 0.6655 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.1664, allocations: 129.5 kB / 0.6657 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1664, allocations: 0 / 0.6657 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003093/0.1667, allocations: 27.91 kB / 0.6657 GB, free: 6.945 MB / 0.4981 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.0006639/0.1674, allocations: 0.8405 MB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1677, allocations: 107.8 kB / 0.6666 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1677, allocations: 4 kB / 0.6666 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.1679, allocations: 55.91 kB / 0.6667 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1683, allocations: 49.5 kB / 0.6667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1705, allocations: 1.818 MB / 0.6685 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1708, allocations: 0.7045 MB / 0.6692 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.432e-05/0.1709, allocations: 16.42 kB / 0.6692 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.171, allocations: 43.42 kB / 0.6692 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.171, allocations: 0 / 0.6692 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.1919, allocations: 3.696 MB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.409, allocations: 0.7031 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)