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.001313/0.001313, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00154/0.00154, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 286.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 94.02 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1447, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00328/0.148, allocations: 1.865 MB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.1484, allocations: 130.9 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1485, allocations: 0 / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1486, allocations: 8.453 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.929e-05/0.1488, allocations: 55.55 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1489, allocations: 27.97 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1491, allocations: 167.2 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1492, allocations: 32.97 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1494, allocations: 59.78 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1495, allocations: 67.7 kB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1495, allocations: 12 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.1495, allocations: 8 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.1496, allocations: 27.84 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1496, allocations: 59.73 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1498, allocations: 123.5 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1498, allocations: 0 / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1498, allocations: 4 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1498, allocations: 4 kB / 0.6822 GB, free: 14.44 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.0007597/0.1506, allocations: 442.9 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1506, allocations: 8.031 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1507, allocations: 16.75 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1509, allocations: 202.1 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1509, allocations: 8.375 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1509, allocations: 12.31 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.1512, allocations: 126 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1512, allocations: 192 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1513, allocations: 3.938 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1513, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.1516, allocations: 103.9 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.1523, allocations: 464.7 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1526, allocations: 133.2 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1528, allocations: 61.78 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1528, allocations: 7.984 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1529, allocations: 34.56 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1529, allocations: 4 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005554/0.1534, allocations: 177.5 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1535, allocations: 81.05 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1536, allocations: 164.1 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1537, allocations: 29.69 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1537, allocations: 116 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1538, allocations: 35.48 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1538, allocations: 17.72 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1539, allocations: 334.8 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1541, allocations: 39.97 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1542, allocations: 57.62 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1545, allocations: 105.6 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1545, allocations: 4 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003393/0.1549, allocations: 141.4 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1549, allocations: 10.34 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1549, allocations: 0 / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1549, allocations: 4.188 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1551, allocations: 27.92 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1551, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1552, allocations: 12.36 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1552, allocations: 11.92 kB / 0.6851 GB, free: 11.25 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.905e-05/0.1553, allocations: 114.5 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.1554, allocations: 15.81 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1558, allocations: 170.5 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1558, allocations: 0 / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1558, allocations: 0 / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1558, allocations: 0 / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1561, allocations: 225.5 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1561, allocations: 0 / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1563, allocations: 27.98 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1563, allocations: 0 / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1563, allocations: 4 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1563, allocations: 3.938 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1563, allocations: 3.984 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1567, allocations: 318.5 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.1567, allocations: 85.02 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1568, allocations: 0 / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.157, allocations: 15.89 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.157, allocations: 7.984 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.157, allocations: 7.938 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.763e-05/0.1571, allocations: 129.2 kB / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1571, allocations: 4 kB / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1574, allocations: 27.94 kB / 0.6862 GB, free: 10.01 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 8.638e-05/0.1575, allocations: 103.2 kB / 0.6863 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.1579, allocations: 112.1 kB / 0.6864 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1579, allocations: 3.938 kB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.158, allocations: 55.91 kB / 0.6864 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1585, allocations: 48.38 kB / 0.6865 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.159, allocations: 259.6 kB / 0.6867 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1592, allocations: 0.7006 MB / 0.6874 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.839e-05/0.1593, allocations: 16.78 kB / 0.6874 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.1594, allocations: 11.44 kB / 0.6874 GB, free: 8.648 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1594, allocations: 0 / 0.6874 GB, free: 8.648 MB / 494.1 MB Notification: Performance of Templates: time 0.00433/0.1637, allocations: 2.028 MB / 0.6894 GB, free: 6.68 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)