Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002006/0.002006, 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.002367/0.002367, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.081/1.081, allocations: 135.2 MB / 425.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 61.03 kB / 0.5049 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2072, allocations: 80.94 MB / 0.5839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00347/0.2107, allocations: 1.869 MB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.2111, allocations: 115.6 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.2112, allocations: 0 / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2113, allocations: 15.86 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2114, allocations: 47.61 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.2115, allocations: 31.97 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.2118, allocations: 175.1 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2119, allocations: 29.11 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.212, allocations: 51.84 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2121, allocations: 71.67 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.2122, allocations: 12 kB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.54e-05/0.2122, allocations: 8 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.2123, allocations: 23.92 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.2123, allocations: 67.66 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2125, allocations: 123.9 kB / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2125, allocations: 0 / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2125, allocations: 0 / 0.5865 GB, free: 2.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2126, allocations: 0 / 0.5865 GB, free: 2.195 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.000858/0.2134, allocations: 446.8 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2135, allocations: 12.03 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.2135, allocations: 24.73 kB / 0.587 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.2138, allocations: 208 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2138, allocations: 4.375 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.2138, allocations: 8.359 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.2141, allocations: 115.9 kB / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2142, allocations: 192 / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.2142, allocations: 11.92 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2142, allocations: 8 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.2145, allocations: 91.81 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.2154, allocations: 488.7 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.2158, allocations: 121.2 kB / 0.588 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.216, allocations: 61.72 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.216, allocations: 8 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.216, allocations: 34.56 kB / 0.5881 GB, free: 408 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.2161, allocations: 0 / 0.5881 GB, free: 408 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005891/0.2166, allocations: 181.3 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2167, allocations: 77.11 kB / 0.5883 GB, free: 124 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2169, allocations: 172.6 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2169, allocations: 29.7 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.217, allocations: 115.9 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2171, allocations: 31.55 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.2171, allocations: 17.72 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2173, allocations: 326.8 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2174, allocations: 43.97 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2176, allocations: 57.69 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2179, allocations: 109.6 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2179, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003653/0.2183, allocations: 145.9 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.2183, allocations: 4 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2183, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2183, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2185, allocations: 27.98 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2185, allocations: 3.984 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2186, allocations: 11.91 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2187, allocations: 7.938 kB / 0.5894 GB, free: 14.99 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.2188, allocations: 125.8 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.2188, allocations: 7.906 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.2193, allocations: 154.5 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2193, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2193, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2193, allocations: 4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.2197, allocations: 237.4 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2197, allocations: 3.938 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2199, allocations: 19.98 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2199, allocations: 7.938 kB / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.2199, allocations: 0 / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2199, allocations: 0 / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2199, allocations: 240 / 0.5899 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.2205, allocations: 322.5 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.2206, allocations: 93.2 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.2206, allocations: 0 / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.2208, allocations: 11.98 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.2209, allocations: 11.94 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2209, allocations: 7.922 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001447/0.2211, allocations: 136.2 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2211, allocations: 0 / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003203/0.2214, allocations: 28 kB / 0.5905 GB, free: 13.74 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.2216, allocations: 99.19 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.222, allocations: 103.9 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.222, allocations: 0 / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.2222, allocations: 59.95 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.2229, allocations: 42.72 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007412/0.2236, allocations: 271.5 kB / 0.591 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.2241, allocations: 0.7083 MB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.2242, allocations: 8.656 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.2243, allocations: 15.44 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.2243, allocations: 0 / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.005855/0.2301, allocations: 2.011 MB / 0.5937 GB, free: 10.43 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)