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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7837/0.7837, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 185 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 447.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009422, allocations: 92.27 kB / 0.5188 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 278.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004861, allocations: 12.72 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.315, allocations: 109.3 MB / 0.8804 GB, free: 428 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3152, allocations: 77.98 kB / 0.8805 GB, free: 352 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2979/0.6132, allocations: 1.877 MB / 0.8823 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6132, allocations: 3.938 kB / 0.8823 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.6132, allocations: 2.469 kB / 0.8823 GB, free: 109.3 MB / 0.5417 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.0005488/0.6138, allocations: 444.4 kB / 0.8827 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6139, allocations: 8.453 kB / 0.8828 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.6139, allocations: 16.75 kB / 0.8828 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.6141, allocations: 203.6 kB / 0.883 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.6141, allocations: 2.938 kB / 0.883 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.6141, allocations: 16.62 kB / 0.883 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.6144, allocations: 123.5 kB / 0.8831 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6144, allocations: 2.969 kB / 0.8831 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.6144, allocations: 3.25 kB / 0.8831 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6144, allocations: 0 / 0.8831 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.6147, allocations: 107.6 kB / 0.8832 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.6153, allocations: 485.6 kB / 0.8837 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.6157, allocations: 139.5 kB / 0.8838 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.6157, allocations: 0 / 0.8838 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.6157, allocations: 37.25 kB / 0.8838 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.6157, allocations: 0 / 0.8838 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0005183/0.6163, allocations: 197.7 kB / 0.884 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6163, allocations: 84.77 kB / 0.8841 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6164, allocations: 158.1 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6164, allocations: 29.14 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.6165, allocations: 107.3 kB / 0.8844 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.6165, allocations: 30.75 kB / 0.8844 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6165, allocations: 0 / 0.8844 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.6166, allocations: 326.8 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6167, allocations: 47.16 kB / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.6169, allocations: 70.61 kB / 0.8848 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.617, allocations: 58.59 kB / 0.8849 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.617, allocations: 0 / 0.8849 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003238/0.6173, allocations: 160.9 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6174, allocations: 6 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6174, allocations: 1.766 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6174, allocations: 2.844 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.6175, allocations: 27.09 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6175, allocations: 0 / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.6177, allocations: 21.67 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6177, allocations: 10.52 kB / 0.8851 GB, free: 107.4 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.6178, allocations: 115.1 kB / 0.8852 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.6178, allocations: 16.94 kB / 0.8852 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.6182, allocations: 174.8 kB / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6182, allocations: 2.719 kB / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6182, allocations: 192 / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6182, allocations: 0 / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.6184, allocations: 227.4 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6185, allocations: 4.203 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.6186, allocations: 28.75 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6186, allocations: 3 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.6186, allocations: 0 / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6186, allocations: 0.875 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6186, allocations: 5.047 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.619, allocations: 340.7 kB / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.619, allocations: 97.34 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.6191, allocations: 0 / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6192, allocations: 16.56 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.6193, allocations: 12.42 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.6193, allocations: 2.875 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.6194, allocations: 120 kB / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6194, allocations: 0 / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002581/0.6196, allocations: 34.33 kB / 0.8863 GB, free: 106.6 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.792e-05/0.6197, allocations: 99.16 kB / 0.8864 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.62, allocations: 121.3 kB / 0.8865 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6201, allocations: 0 / 0.8865 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6202, allocations: 67.77 kB / 0.8865 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.6205, allocations: 38.59 kB / 0.8866 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.621, allocations: 263.1 kB / 0.8868 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.6211, allocations: 0.7106 MB / 0.8875 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.344e-05/0.6212, allocations: 8.156 kB / 0.8875 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.6213, allocations: 22.59 kB / 0.8876 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6213, allocations: 0 / 0.8876 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.004335/0.6256, allocations: 1.839 MB / 0.8894 GB, free: 105.5 MB / 0.5417 GB 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)