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.461/1.461, allocations: 252 MB / 267.6 MB, free: 10.91 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.001243/0.001243, allocations: 174.4 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.5783 GB, free: 20.13 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.0008984/0.0008985, allocations: 93.03 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 9.125 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001803/0.253, allocations: 1.496 MB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002991/0.2533, allocations: 131.5 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.2534, allocations: 0 / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2536, allocations: 11.86 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.2536, allocations: 43.64 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.2538, allocations: 31.95 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2539, allocations: 155.1 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.254, allocations: 25.09 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.2541, allocations: 43.84 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.2542, allocations: 55.77 kB / 0.9028 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2542, allocations: 4 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.2542, allocations: 12 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.2543, allocations: 19.91 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.2543, allocations: 49.64 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2544, allocations: 76.08 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2544, allocations: 0 / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2544, allocations: 0 / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2544, allocations: 0 / 0.9029 GB, free: 61.7 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.000704/0.2552, allocations: 446.8 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2552, allocations: 8.031 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.2552, allocations: 15.81 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2554, allocations: 210.6 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2554, allocations: 8 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.2555, allocations: 8 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2557, allocations: 123.3 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2558, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2558, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.2558, allocations: 7.938 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2561, allocations: 115.9 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.2567, allocations: 480.7 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.2571, allocations: 137.2 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2572, allocations: 73.72 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2573, allocations: 0 / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2573, allocations: 34.56 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.2573, allocations: 0 / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005512/0.2578, allocations: 209.4 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.2579, allocations: 77.11 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.258, allocations: 171.6 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.258, allocations: 25.7 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.2581, allocations: 112.2 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.2581, allocations: 27.56 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2581, allocations: 0 / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.2582, allocations: 334.8 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2583, allocations: 43.97 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2585, allocations: 69.67 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2586, allocations: 60.17 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2586, allocations: 0 / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.259, allocations: 157.5 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.259, allocations: 4 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.259, allocations: 0 / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.259, allocations: 4 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2592, allocations: 31.88 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.2592, allocations: 4 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2593, allocations: 23.83 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2593, allocations: 0 / 0.9058 GB, free: 58.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/0.2594, allocations: 117.8 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.2595, allocations: 15.81 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.2599, allocations: 174.5 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2599, allocations: 0 / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2599, allocations: 7.953 kB / 0.9061 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2599, allocations: 0 / 0.9061 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2601, allocations: 221.7 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2601, allocations: 0 / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2603, allocations: 27.92 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2603, allocations: 4 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2603, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2603, allocations: 7.922 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2603, allocations: 0 / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.2606, allocations: 330.5 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2607, allocations: 85.02 kB / 0.9067 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2607, allocations: 8.188 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2609, allocations: 23.92 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.2609, allocations: 8.266 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2609, allocations: 0 / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.261, allocations: 131.5 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.261, allocations: 7.938 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002742/0.2613, allocations: 28 kB / 0.9069 GB, free: 57.22 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 (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 8.582e-05/0.2614, allocations: 103.2 kB / 0.907 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.2617, allocations: 115.9 kB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2617, allocations: 4 kB / 0.9072 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.2619, allocations: 59.91 kB / 0.9072 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.2624, allocations: 46.95 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.2628, allocations: 281.8 kB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2629, allocations: 0.7087 MB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.263, allocations: 15.44 kB / 0.9082 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.263, allocations: 0 / 0.9082 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.002695/0.2657, allocations: 1.747 MB / 0.9099 GB, free: 54.11 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)