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.006294/0.006294, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001625/0.001625, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 294.6 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 91.86 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1572, allocations: 86.98 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002873/0.1601, allocations: 1.824 MB / 0.7677 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002728/0.1604, allocations: 119.6 kB / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.1604, allocations: 0 / 0.7678 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.694e-05/0.1605, allocations: 15.8 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/0.1606, allocations: 47.56 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1608, allocations: 39.95 kB / 0.7679 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.161, allocations: 171.1 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1611, allocations: 37.28 kB / 0.7681 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.1612, allocations: 47.86 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1613, allocations: 71.69 kB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1614, allocations: 8 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.942e-05/0.1614, allocations: 16 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.1614, allocations: 23.91 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.1615, allocations: 63.67 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1617, allocations: 127.4 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1617, allocations: 0 / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1617, allocations: 3.938 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1617, allocations: 0 / 0.7684 GB, free: 6.367 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.0007828/0.1625, allocations: 466.7 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1626, allocations: 8.031 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.1626, allocations: 38.75 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1627, allocations: 16.84 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1629, allocations: 199.7 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1629, allocations: 8.375 kB / 0.7691 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.163, allocations: 4.375 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.1633, allocations: 127.8 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1633, allocations: 3.938 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1633, allocations: 0 / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1633, allocations: 4 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1636, allocations: 95.92 kB / 0.7693 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.1644, allocations: 476.7 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.1648, allocations: 133.2 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.165, allocations: 61.78 kB / 0.77 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.165, allocations: 4 kB / 0.77 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.165, allocations: 30.56 kB / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.165, allocations: 0 / 0.77 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005883/0.1656, allocations: 185.5 kB / 0.7702 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1657, allocations: 81.11 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1659, allocations: 168.1 kB / 0.7704 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1659, allocations: 25.7 kB / 0.7705 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.166, allocations: 116 kB / 0.7706 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.166, allocations: 31.69 kB / 0.7706 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1661, allocations: 25.7 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1663, allocations: 330.8 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1664, allocations: 39.97 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1666, allocations: 57.69 kB / 0.771 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.1669, allocations: 105.7 kB / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1669, allocations: 0 / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003775/0.1673, allocations: 149.7 kB / 0.7713 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1673, allocations: 4 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1673, allocations: 4 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1673, allocations: 192 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1675, allocations: 19.98 kB / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1675, allocations: 7.875 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1676, allocations: 23.92 kB / 0.7713 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1676, allocations: 4 kB / 0.7713 GB, free: 3.102 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.707e-05/0.1677, allocations: 114.5 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1678, allocations: 15.91 kB / 0.7715 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.1683, allocations: 162.5 kB / 0.7716 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1683, allocations: 4 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1683, allocations: 0 / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1683, allocations: 4.172 kB / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.1687, allocations: 225.5 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1687, allocations: 0 / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1688, allocations: 27.95 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1688, allocations: 0 / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1689, allocations: 4 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1689, allocations: 4 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1689, allocations: 4 kB / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.1693, allocations: 307.1 kB / 0.7722 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1694, allocations: 93 kB / 0.7723 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1694, allocations: 4 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1696, allocations: 11.98 kB / 0.7723 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1696, allocations: 15.88 kB / 0.7723 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1697, allocations: 192 / 0.7723 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001179/0.1698, allocations: 136.7 kB / 0.7724 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1698, allocations: 3.938 kB / 0.7724 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002913/0.1701, allocations: 24 kB / 0.7724 GB, free: 1.867 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.0007762/0.1709, allocations: 0.8444 MB / 0.7733 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.1712, allocations: 104 kB / 0.7734 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1712, allocations: 0 / 0.7734 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1714, allocations: 63.84 kB / 0.7734 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.1718, allocations: 35.91 kB / 0.7735 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2623/0.4341, allocations: 1.815 MB / 0.7752 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4343, allocations: 0.7107 MB / 0.7759 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.651e-05/0.4344, allocations: 11.83 kB / 0.7759 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.4345, allocations: 33.17 kB / 0.776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.4345, allocations: 0 / 0.776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.4581, allocations: 3.659 MB / 0.7795 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.29, allocations: 9 kB / 0.7795 GB, free: 12.69 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)