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.00104/0.00104, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.0009994/0.0009994, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 285.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 94.86 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1366, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002605/0.1393, allocations: 1.819 MB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.1395, allocations: 119.5 kB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.1396, allocations: 4 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.1397, allocations: 11.86 kB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.1398, allocations: 55.48 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.1399, allocations: 31.95 kB / 0.6836 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1401, allocations: 171.2 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1402, allocations: 37.03 kB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.1403, allocations: 51.78 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.1404, allocations: 67.75 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1404, allocations: 15.94 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.244e-05/0.1404, allocations: 8 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.1405, allocations: 31.84 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.368e-05/0.1406, allocations: 63.73 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1407, allocations: 127.5 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1407, allocations: 0 / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1407, allocations: 0 / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1407, allocations: 0 / 0.6841 GB, free: 4.844 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.0006965/0.1414, allocations: 446.9 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1415, allocations: 8.031 kB / 0.6846 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1415, allocations: 16.75 kB / 0.6846 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1417, allocations: 211.8 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1417, allocations: 4.375 kB / 0.6848 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1418, allocations: 8.375 kB / 0.6848 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.142, allocations: 115.8 kB / 0.6849 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.142, allocations: 8.125 kB / 0.6849 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1421, allocations: 11.94 kB / 0.6849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1421, allocations: 0 / 0.6849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.1424, allocations: 95.86 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.143, allocations: 476.7 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1434, allocations: 133.2 kB / 0.6856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1436, allocations: 57.78 kB / 0.6857 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1436, allocations: 4 kB / 0.6857 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1436, allocations: 34.5 kB / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1436, allocations: 0 / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005302/0.1442, allocations: 181.5 kB / 0.6859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1442, allocations: 85.11 kB / 0.6859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1444, allocations: 172.1 kB / 0.6861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1444, allocations: 25.7 kB / 0.6861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1444, allocations: 112 kB / 0.6862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1445, allocations: 27.56 kB / 0.6863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.1445, allocations: 29.64 kB / 0.6863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.1446, allocations: 330.8 kB / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1448, allocations: 43.97 kB / 0.6867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1449, allocations: 57.69 kB / 0.6867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1452, allocations: 105.6 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1452, allocations: 0 / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003266/0.1455, allocations: 145.5 kB / 0.6869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1455, allocations: 4 kB / 0.687 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1456, allocations: 4 kB / 0.687 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1456, allocations: 3.938 kB / 0.687 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1457, allocations: 19.98 kB / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1457, allocations: 0 / 0.687 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1459, allocations: 11.98 kB / 0.687 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1459, allocations: 7.938 kB / 0.687 GB, free: 1.648 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 7.617e-05/0.146, allocations: 121.8 kB / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.146, allocations: 15.81 kB / 0.6871 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.1464, allocations: 155 kB / 0.6873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1464, allocations: 8 kB / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1464, allocations: 0 / 0.6873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1464, allocations: 4 kB / 0.6873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1467, allocations: 233.5 kB / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1467, allocations: 0 / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1469, allocations: 27.91 kB / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1469, allocations: 0 / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1469, allocations: 0 / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1469, allocations: 4 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1469, allocations: 0 / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.1473, allocations: 314.5 kB / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.1473, allocations: 89 kB / 0.6879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1474, allocations: 8 kB / 0.6879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1476, allocations: 4.281 kB / 0.6879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1476, allocations: 7.984 kB / 0.6879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1476, allocations: 11.94 kB / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.382e-05/0.1477, allocations: 132.7 kB / 0.6881 GB, free: 448 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1477, allocations: 0 / 0.6881 GB, free: 448 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.148, allocations: 31.91 kB / 0.6881 GB, free: 416 kB / 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 7.898e-05/0.1481, allocations: 99.25 kB / 0.6882 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1484, allocations: 99.88 kB / 0.6883 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1484, allocations: 4 kB / 0.6883 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1486, allocations: 55.91 kB / 0.6884 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.149, allocations: 40.67 kB / 0.6884 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2152/0.3642, allocations: 219 kB / 0.6886 GB, free: 18.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3644, allocations: 0.7031 MB / 0.6893 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3645, allocations: 12.06 kB / 0.6893 GB, free: 17.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.3646, allocations: 14.12 kB / 0.6893 GB, free: 17.37 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3646, allocations: 2.031 kB / 0.6893 GB, free: 17.37 MB / 494.1 MB Notification: Performance of Templates: time 0.005524/0.3701, allocations: 2.113 MB / 0.6914 GB, free: 17.33 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)