Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.000837/0.000837, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009251/0.0009251, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000519/0.0005191, allocations: 13.84 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001986/0.2227, allocations: 1.5 MB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.223, allocations: 123.6 kB / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2232, allocations: 0 / 0.7889 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2233, allocations: 11.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2234, allocations: 47.56 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.2235, allocations: 27.97 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2237, allocations: 151.2 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2238, allocations: 21.11 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.2239, allocations: 43.84 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.2241, allocations: 55.77 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2241, allocations: 8 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.2241, allocations: 8 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.2242, allocations: 23.84 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.2242, allocations: 49.64 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2244, allocations: 80.08 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2244, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2244, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.2244, allocations: 0 / 0.7894 GB, free: 9.785 MB / 0.6075 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.0009774/0.2254, allocations: 446.7 kB / 0.7898 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.2255, allocations: 8.031 kB / 0.7898 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.2256, allocations: 11.91 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2259, allocations: 210.7 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.226, allocations: 4 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.226, allocations: 8 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2263, allocations: 130.2 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2264, allocations: 0 / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2264, allocations: 4 kB / 0.7901 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.2264, allocations: 7.938 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.2267, allocations: 107.9 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.2276, allocations: 484.6 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.228, allocations: 141.2 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.2281, allocations: 69.78 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2282, allocations: 0 / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2282, allocations: 34.56 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.2282, allocations: 0 / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000604/0.2288, allocations: 205.4 kB / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.2289, allocations: 81.06 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2291, allocations: 167.4 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2291, allocations: 29.7 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.2292, allocations: 112.2 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2293, allocations: 23.66 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.2293, allocations: 4 kB / 0.7916 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2294, allocations: 326.8 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2296, allocations: 55.89 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.2297, allocations: 65.69 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2299, allocations: 47.98 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2299, allocations: 0 / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000355/0.2303, allocations: 165.4 kB / 0.7922 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.2303, allocations: 4 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.2303, allocations: 0 / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2303, allocations: 4.375 kB / 0.7922 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2305, allocations: 23.98 kB / 0.7922 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2305, allocations: 7.953 kB / 0.7922 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.2306, allocations: 27.89 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2306, allocations: 0 / 0.7922 GB, free: 6.582 MB / 0.6075 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 8.72e-05/0.2307, allocations: 113.8 kB / 0.7924 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.2308, allocations: 15.84 kB / 0.7924 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.2312, allocations: 170.6 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2312, allocations: 0 / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2312, allocations: 4 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2312, allocations: 7.891 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.2315, allocations: 229.5 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2316, allocations: 192 / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2317, allocations: 23.98 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.2317, allocations: 7.938 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.2317, allocations: 11.92 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2317, allocations: 0 / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2317, allocations: 3.984 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.2322, allocations: 322.6 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.2323, allocations: 92.92 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2323, allocations: 4 kB / 0.7932 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.2325, allocations: 15.98 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.2326, allocations: 11.98 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2326, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2327, allocations: 128.2 kB / 0.7934 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2327, allocations: 0 / 0.7934 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002924/0.233, allocations: 28 kB / 0.7934 GB, free: 5.316 MB / 0.6075 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 0.0001269/0.2331, allocations: 111.1 kB / 0.7935 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.2335, allocations: 111.9 kB / 0.7936 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.2335, allocations: 4 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2337, allocations: 60.14 kB / 0.7937 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.2342, allocations: 48.08 kB / 0.7937 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.2348, allocations: 256.4 kB / 0.7939 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2352, allocations: 0.7164 MB / 0.7946 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.2353, allocations: 12.44 kB / 0.7947 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.2354, allocations: 15.44 kB / 0.7947 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2354, allocations: 0 / 0.7947 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.005243/0.2406, allocations: 1.829 MB / 0.7965 GB, free: 2.137 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: