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.00495/0.00495, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001496/0.001496, allocations: 195.4 kB / 16.68 MB, free: 5.523 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 283 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.168/1.168, allocations: 178.6 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 107.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3694, allocations: 89.12 MB / 0.7813 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002296/0.3717, allocations: 1.818 MB / 0.7831 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.372, allocations: 126.1 kB / 0.7832 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.3721, allocations: 1.156 kB / 0.7832 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3722, allocations: 16.95 kB / 0.7832 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.3723, allocations: 45.38 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.3724, allocations: 39.94 kB / 0.7833 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3726, allocations: 175.9 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.3727, allocations: 25.23 kB / 0.7835 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.3728, allocations: 57.58 kB / 0.7835 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3729, allocations: 73.16 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3729, allocations: 9.562 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.701e-05/0.373, allocations: 9.688 kB / 0.7836 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.373, allocations: 18.48 kB / 0.7837 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.3731, allocations: 71.19 kB / 0.7837 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3732, allocations: 129.3 kB / 0.7838 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3733, allocations: 0 / 0.7838 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3733, allocations: 1.344 kB / 0.7838 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3733, allocations: 0 / 0.7838 GB, free: 15.18 MB / 0.5606 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.0007648/0.374, allocations: 456.4 kB / 0.7843 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3741, allocations: 9.344 kB / 0.7843 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3741, allocations: 41.45 kB / 0.7843 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3742, allocations: 16.59 kB / 0.7843 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3744, allocations: 204.1 kB / 0.7845 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.3744, allocations: 11.41 kB / 0.7845 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3745, allocations: 5.531 kB / 0.7846 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3747, allocations: 121.1 kB / 0.7847 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3748, allocations: 7.875 kB / 0.7847 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3748, allocations: 1.281 kB / 0.7847 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3748, allocations: 1.188 kB / 0.7847 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3751, allocations: 99.7 kB / 0.7848 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.3758, allocations: 469.6 kB / 0.7852 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.3762, allocations: 127.7 kB / 0.7853 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.3764, allocations: 69.94 kB / 0.7854 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3764, allocations: 5.297 kB / 0.7854 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3764, allocations: 35.81 kB / 0.7854 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3764, allocations: 0 / 0.7854 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005814/0.377, allocations: 181.6 kB / 0.7856 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3771, allocations: 82.14 kB / 0.7857 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3772, allocations: 171.8 kB / 0.7859 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3773, allocations: 25.7 kB / 0.7859 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.3773, allocations: 109.4 kB / 0.786 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.3774, allocations: 27.25 kB / 0.786 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.3774, allocations: 24.45 kB / 0.786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3776, allocations: 329.2 kB / 0.7864 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3777, allocations: 43.62 kB / 0.7864 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3779, allocations: 56.22 kB / 0.7865 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3782, allocations: 102 kB / 0.7865 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3782, allocations: 0 / 0.7865 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003662/0.3786, allocations: 149.9 kB / 0.7867 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3786, allocations: 8.656 kB / 0.7867 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3786, allocations: 1.406 kB / 0.7867 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3786, allocations: 1.156 kB / 0.7867 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3788, allocations: 25.52 kB / 0.7867 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3788, allocations: 1.094 kB / 0.7867 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.3789, allocations: 30.72 kB / 0.7868 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3789, allocations: 1.344 kB / 0.7868 GB, free: 12.57 MB / 0.5606 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.346e-05/0.379, allocations: 115.1 kB / 0.7869 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.3791, allocations: 15.23 kB / 0.7869 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.3795, allocations: 160.9 kB / 0.787 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3795, allocations: 9.125 kB / 0.787 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3795, allocations: 1.188 kB / 0.787 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3796, allocations: 5.156 kB / 0.7871 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3799, allocations: 219.8 kB / 0.7873 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3799, allocations: 3.938 kB / 0.7873 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.38, allocations: 24.27 kB / 0.7873 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.38, allocations: 1.25 kB / 0.7873 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3801, allocations: 5.125 kB / 0.7873 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3801, allocations: 5.203 kB / 0.7873 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3801, allocations: 1.188 kB / 0.7873 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.3805, allocations: 312.4 kB / 0.7876 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3806, allocations: 93.33 kB / 0.7877 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.3806, allocations: 1.188 kB / 0.7877 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3808, allocations: 12.77 kB / 0.7877 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3808, allocations: 15.7 kB / 0.7877 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3808, allocations: 2.281 kB / 0.7877 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001057/0.381, allocations: 129.5 kB / 0.7878 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.381, allocations: 0 / 0.7878 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002814/0.3812, allocations: 25.69 kB / 0.7879 GB, free: 11.58 MB / 0.5606 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.0007289/0.382, allocations: 0.8444 MB / 0.7887 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.3823, allocations: 103.2 kB / 0.7888 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3824, allocations: 0 / 0.7888 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3825, allocations: 63.27 kB / 0.7888 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.383, allocations: 49.31 kB / 0.7889 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.3852, allocations: 1.822 MB / 0.7907 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3855, allocations: 0.706 MB / 0.7914 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.3856, allocations: 15.7 kB / 0.7914 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.3857, allocations: 33.09 kB / 0.7914 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.3857, allocations: 0 / 0.7914 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.4102, allocations: 3.653 MB / 0.795 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.147, allocations: 11.02 kB / 0.795 GB, free: 6.559 MB / 0.5606 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)