Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_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.001325/0.001325, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002515, allocations: 286.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 98.8 kB / 0.6065 GB, free: 24.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1558, allocations: 89.14 MB / 0.6936 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00302/0.1589, allocations: 1.823 MB / 0.6954 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.1592, allocations: 115.7 kB / 0.6955 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.1592, allocations: 0 / 0.6955 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1594, allocations: 23.73 kB / 0.6955 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.1595, allocations: 48.86 kB / 0.6955 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.1596, allocations: 31.95 kB / 0.6956 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1598, allocations: 171.2 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1599, allocations: 31.48 kB / 0.6958 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.16, allocations: 59.78 kB / 0.6958 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1601, allocations: 67.75 kB / 0.6959 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.1602, allocations: 12 kB / 0.6959 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.1602, allocations: 8 kB / 0.6959 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.1602, allocations: 23.92 kB / 0.6959 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.1603, allocations: 71.66 kB / 0.696 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1605, allocations: 119.5 kB / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1605, allocations: 0 / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1605, allocations: 0 / 0.6961 GB, free: 1.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1605, allocations: 0 / 0.6961 GB, free: 1.688 MB / 494.1 MB 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.0007843/0.1613, allocations: 450.8 kB / 0.6965 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1614, allocations: 12.03 kB / 0.6966 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.1614, allocations: 38.73 kB / 0.6966 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1614, allocations: 20.75 kB / 0.6966 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1617, allocations: 212.6 kB / 0.6968 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.1617, allocations: 4.375 kB / 0.6968 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1617, allocations: 12.38 kB / 0.6968 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.162, allocations: 119.8 kB / 0.6969 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.162, allocations: 3.938 kB / 0.697 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1621, allocations: 8 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1621, allocations: 0 / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1624, allocations: 95.88 kB / 0.697 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.1631, allocations: 468.8 kB / 0.6975 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.1636, allocations: 129.2 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1637, allocations: 61.73 kB / 0.6977 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1638, allocations: 0 / 0.6977 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1638, allocations: 42.48 kB / 0.6977 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1638, allocations: 4 kB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005961/0.1644, allocations: 177.4 kB / 0.6979 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1645, allocations: 81.11 kB / 0.698 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1647, allocations: 164.9 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1647, allocations: 29.7 kB / 0.6982 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.1648, allocations: 112 kB / 0.6983 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1648, allocations: 31.55 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1649, allocations: 25.72 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.165, allocations: 326.8 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1652, allocations: 47.89 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1654, allocations: 57.69 kB / 0.6987 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1657, allocations: 105.6 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1657, allocations: 0 / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004264/0.1661, allocations: 141.9 kB / 0.699 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1661, allocations: 11.98 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1662, allocations: 7.938 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1662, allocations: 4 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1663, allocations: 19.98 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1664, allocations: 4 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1665, allocations: 15.83 kB / 0.699 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1665, allocations: 4 kB / 0.699 GB, free: 14.43 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 0.0001068/0.1666, allocations: 119.2 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.1667, allocations: 11.91 kB / 0.6992 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.1671, allocations: 158.5 kB / 0.6993 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1671, allocations: 4 kB / 0.6993 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1671, allocations: 0 / 0.6993 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1671, allocations: 3.938 kB / 0.6993 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1675, allocations: 229.5 kB / 0.6995 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1675, allocations: 0 / 0.6995 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1677, allocations: 27.92 kB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1677, allocations: 0 / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1677, allocations: 0 / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1677, allocations: 4 kB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1677, allocations: 0 / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.1681, allocations: 318.8 kB / 0.6999 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1682, allocations: 92.91 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1683, allocations: 8 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1684, allocations: 7.984 kB / 0.7 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.1685, allocations: 11.92 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1685, allocations: 4.281 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001087/0.1687, allocations: 127.5 kB / 0.7001 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1687, allocations: 0 / 0.7001 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002945/0.169, allocations: 31.94 kB / 0.7001 GB, free: 13.2 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.0007988/0.1698, allocations: 0.8443 MB / 0.701 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.1701, allocations: 104.1 kB / 0.7011 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1701, allocations: 0 / 0.7011 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.1703, allocations: 60.02 kB / 0.7011 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.1708, allocations: 44.8 kB / 0.7012 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.1732, allocations: 1.815 MB / 0.7029 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1736, allocations: 0.7084 MB / 0.7036 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.931e-05/0.1737, allocations: 12.59 kB / 0.7036 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.1737, allocations: 39.42 kB / 0.7037 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1738, allocations: 0 / 0.7037 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1996, allocations: 3.605 MB / 0.7072 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.141, allocations: 6.875 kB / 0.7072 GB, free: 5.992 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)