Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 172.7 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009464/0.0009462, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003511, allocations: 11.03 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001885/0.2764, allocations: 1.55 MB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.2767, allocations: 123.6 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.2768, allocations: 3.938 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.2769, allocations: 11.91 kB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2771, allocations: 39.64 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.2772, allocations: 31.94 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.2774, allocations: 171.1 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2775, allocations: 25.09 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.2776, allocations: 43.86 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.2777, allocations: 63.69 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2777, allocations: 4 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.2777, allocations: 8 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.2778, allocations: 15.92 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.2778, allocations: 71.64 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.427e-05/0.2779, allocations: 75.81 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2779, allocations: 0 / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2779, allocations: 7.875 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.278, allocations: 0 / 0.8989 GB, free: 65.93 MB / 0.6042 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.0006826/0.2786, allocations: 447 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2787, allocations: 12.03 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.2787, allocations: 12.75 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.2789, allocations: 204 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.279, allocations: 8.375 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.279, allocations: 4.375 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2793, allocations: 133.4 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2793, allocations: 192 / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2793, allocations: 7.938 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2793, allocations: 0 / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.2796, allocations: 111.9 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.2802, allocations: 480.5 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.2806, allocations: 141.2 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2807, allocations: 69.78 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2808, allocations: 4 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2808, allocations: 34.56 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2808, allocations: 0 / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005337/0.2813, allocations: 201.5 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2814, allocations: 77.11 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2815, allocations: 171.6 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2815, allocations: 29.7 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.2816, allocations: 112 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2816, allocations: 27.56 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.2816, allocations: 17.7 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.2817, allocations: 330.8 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2818, allocations: 51.97 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.282, allocations: 69.62 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.2822, allocations: 109.7 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2822, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003034/0.2825, allocations: 169.7 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2826, allocations: 4 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2826, allocations: 0 / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2826, allocations: 8 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2828, allocations: 28.23 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2828, allocations: 3.984 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2829, allocations: 15.92 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.2829, allocations: 7.938 kB / 0.9019 GB, free: 62.62 MB / 0.6042 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 7.654e-05/0.283, allocations: 130.4 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.283, allocations: 15.81 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.2834, allocations: 174.5 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2834, allocations: 240 / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2835, allocations: 4 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2835, allocations: 3.984 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2837, allocations: 221.6 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2837, allocations: 4 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.2838, allocations: 19.98 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2839, allocations: 4 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2839, allocations: 3.984 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2839, allocations: 4 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2839, allocations: 0 / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.2842, allocations: 331.3 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.2843, allocations: 85.02 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.2843, allocations: 11.98 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2845, allocations: 8 kB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.2845, allocations: 7.984 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2845, allocations: 3.938 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.559e-05/0.2846, allocations: 135.5 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2846, allocations: 3.938 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002682/0.2849, allocations: 24 kB / 0.903 GB, free: 61.36 MB / 0.6042 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.000116/0.285, allocations: 107.2 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.2853, allocations: 119.9 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2853, allocations: 0 / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2855, allocations: 59.97 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.2859, allocations: 44 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.2864, allocations: 286.8 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2866, allocations: 0.7048 MB / 0.9043 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.2866, allocations: 11.44 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2866, allocations: 4 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.002912/0.2896, allocations: 1.741 MB / 0.906 GB, free: 58.25 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)