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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002016/0.002016, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.512/1.512, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.89 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003659/0.2158, allocations: 1.861 MB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.2162, allocations: 119.6 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.2163, allocations: 0 / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.2164, allocations: 15.86 kB / 0.5856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.2165, allocations: 43.62 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.2167, allocations: 35.97 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2169, allocations: 167.1 kB / 0.5859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.217, allocations: 29.09 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.2171, allocations: 43.86 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2172, allocations: 67.69 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2172, allocations: 8 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.2173, allocations: 8 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.2173, allocations: 15.92 kB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.2174, allocations: 63.66 kB / 0.5861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2176, allocations: 115.9 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2176, allocations: 0 / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2176, allocations: 0 / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2176, allocations: 0 / 0.5862 GB, free: 2.406 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.0008764/0.2185, allocations: 450.8 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2185, allocations: 16.02 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.2186, allocations: 12.75 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2188, allocations: 208 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.2189, allocations: 4.375 kB / 0.5869 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2189, allocations: 8.375 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.2193, allocations: 123 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2193, allocations: 4.125 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.2193, allocations: 7.938 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2193, allocations: 3.938 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.2196, allocations: 87.94 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.2204, allocations: 488.6 kB / 0.5876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.2208, allocations: 129.2 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.221, allocations: 61.78 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.221, allocations: 4 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2211, allocations: 30.56 kB / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2211, allocations: 0 / 0.5878 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006029/0.2217, allocations: 193.5 kB / 0.588 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.2217, allocations: 77.11 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2219, allocations: 168.6 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2219, allocations: 25.7 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.222, allocations: 112 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.2221, allocations: 31.61 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.2221, allocations: 25.66 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2223, allocations: 326.8 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2224, allocations: 43.97 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2226, allocations: 61.61 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2229, allocations: 109.9 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2229, allocations: 0 / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003291/0.2232, allocations: 141.5 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2232, allocations: 4 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2233, allocations: 0 / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2233, allocations: 0 / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2235, allocations: 27.97 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2235, allocations: 4 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2236, allocations: 11.91 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2236, allocations: 3.938 kB / 0.5891 GB, free: 15.2 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.0001141/0.2237, allocations: 125.8 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.2238, allocations: 11.91 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.2242, allocations: 158.5 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2242, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2243, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2243, allocations: 7.984 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2246, allocations: 229.4 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2246, allocations: 192 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2247, allocations: 19.98 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2247, allocations: 7.938 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2248, allocations: 0 / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2248, allocations: 7.938 kB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2248, allocations: 0 / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.2252, allocations: 314.5 kB / 0.5899 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.2253, allocations: 89.11 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.2253, allocations: 8 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2255, allocations: 15.98 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.2255, allocations: 3.984 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2256, allocations: 7.938 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001156/0.2257, allocations: 136.2 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2257, allocations: 0 / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002742/0.226, allocations: 28 kB / 0.5902 GB, free: 13.95 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.000125/0.2261, allocations: 99.19 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2264, allocations: 99.94 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2265, allocations: 0 / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2266, allocations: 59.89 kB / 0.5905 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.2272, allocations: 41.66 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.2278, allocations: 265.3 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2281, allocations: 0.7009 MB / 0.5914 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.2282, allocations: 16.78 kB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.2282, allocations: 15.38 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2282, allocations: 0 / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.004855/0.2331, allocations: 1.927 MB / 0.5933 GB, free: 10.73 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)