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: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007575/0.0007575, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004329/0.004329, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 282.6 kB / 291.7 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9648/0.9648, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 14.56 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001693/0.1535, allocations: 1.525 MB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.1538, allocations: 118.4 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.1539, allocations: 4 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.419e-05/0.154, allocations: 14.17 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.1541, allocations: 39.62 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.1542, allocations: 31.09 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1543, allocations: 167.1 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1545, allocations: 33.02 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.1545, allocations: 47.86 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.1546, allocations: 64.97 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1547, allocations: 4 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.1547, allocations: 4 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.1547, allocations: 16.55 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.1548, allocations: 85.38 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1549, allocations: 113.9 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1549, allocations: 0 / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.155, allocations: 3.938 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.706e-06/0.155, allocations: 0 / 0.6873 GB, free: 12.83 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.0006521/0.1556, allocations: 444.5 kB / 0.6877 GB, free: 12.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1557, allocations: 12.03 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1557, allocations: 16.75 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1559, allocations: 206 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1559, allocations: 4.359 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.156, allocations: 8.375 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1563, allocations: 133.4 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1563, allocations: 0.9688 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1563, allocations: 3.938 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1563, allocations: 0.6562 kB / 0.6881 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1566, allocations: 119 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.1573, allocations: 472.7 kB / 0.6887 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1577, allocations: 141.2 kB / 0.6888 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1578, allocations: 69.72 kB / 0.6889 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1579, allocations: 11.94 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1579, allocations: 30.56 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1579, allocations: 0 / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005915/0.1585, allocations: 201.5 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1586, allocations: 81.11 kB / 0.6892 GB, free: 10.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1587, allocations: 168.1 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1587, allocations: 25.7 kB / 0.6894 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1588, allocations: 116 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1589, allocations: 27.56 kB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1589, allocations: 21.7 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.159, allocations: 322.8 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1592, allocations: 51.97 kB / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1594, allocations: 65.69 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1597, allocations: 125.6 kB / 0.6901 GB, free: 9.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1597, allocations: 0 / 0.6901 GB, free: 9.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000375/0.1601, allocations: 165.6 kB / 0.6902 GB, free: 9.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1601, allocations: 4 kB / 0.6902 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1601, allocations: 4 kB / 0.6902 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1601, allocations: 0 / 0.6902 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1603, allocations: 23.98 kB / 0.6903 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1603, allocations: 3.938 kB / 0.6903 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1604, allocations: 15.98 kB / 0.6903 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1604, allocations: 7.938 kB / 0.6903 GB, free: 9.539 MB / 494.1 MB 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 8.272e-05/0.1605, allocations: 118.5 kB / 0.6904 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1606, allocations: 15.81 kB / 0.6904 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.161, allocations: 174.5 kB / 0.6906 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.161, allocations: 4 kB / 0.6906 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1611, allocations: 0 / 0.6906 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1611, allocations: 0 / 0.6906 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.1613, allocations: 229.5 kB / 0.6908 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1613, allocations: 0 / 0.6908 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1615, allocations: 35.91 kB / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1615, allocations: 240 / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1615, allocations: 0 / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1615, allocations: 0 / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1615, allocations: 4.188 kB / 0.6908 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.1619, allocations: 338.4 kB / 0.6912 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.162, allocations: 85.02 kB / 0.6912 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.162, allocations: 7.984 kB / 0.6913 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1622, allocations: 8 kB / 0.6913 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1623, allocations: 11.98 kB / 0.6913 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1623, allocations: 8.125 kB / 0.6913 GB, free: 8.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.827e-05/0.1624, allocations: 133.2 kB / 0.6914 GB, free: 8.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1624, allocations: 0 / 0.6914 GB, free: 8.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1627, allocations: 31.91 kB / 0.6914 GB, free: 8.262 MB / 494.1 MB 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 9.411e-05/0.1628, allocations: 99.25 kB / 0.6915 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.1632, allocations: 123.9 kB / 0.6917 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1632, allocations: 0 / 0.6917 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1633, allocations: 63.91 kB / 0.6917 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.1638, allocations: 40.66 kB / 0.6918 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.1643, allocations: 270 kB / 0.692 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1646, allocations: 0.7088 MB / 0.6927 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1647, allocations: 8.594 kB / 0.6927 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1647, allocations: 15.44 kB / 0.6927 GB, free: 6.883 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1647, allocations: 4 kB / 0.6927 GB, free: 6.879 MB / 494.1 MB Notification: Performance of Templates: time 0.004534/0.1692, allocations: 1.904 MB / 0.6946 GB, free: 5.027 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)