Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7116/0.7116, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 396.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 109.5 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.713e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/0.7332, allocations: 111.6 MB / 0.7438 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.7334, allocations: 76.81 kB / 0.7438 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005199/0.7387, allocations: 1.893 MB / 0.7457 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7387, allocations: 0 / 0.7457 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.7387, allocations: 0 / 0.7457 GB, free: 27.9 MB / 0.5105 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.000497/0.7392, allocations: 421.7 kB / 0.7461 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7393, allocations: 7.562 kB / 0.7461 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.7393, allocations: 11.78 kB / 0.7461 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.7395, allocations: 208.2 kB / 0.7463 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.7395, allocations: 11.19 kB / 0.7463 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.7396, allocations: 3.844 kB / 0.7463 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7397, allocations: 100.2 kB / 0.7464 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.7398, allocations: 0 / 0.7464 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.7398, allocations: 0 / 0.7464 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7398, allocations: 3.875 kB / 0.7464 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.7399, allocations: 67.58 kB / 0.7465 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.7406, allocations: 476.6 kB / 0.7469 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.7408, allocations: 115.4 kB / 0.747 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.7409, allocations: 50.33 kB / 0.7471 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.7409, allocations: 3.438 kB / 0.7471 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.741, allocations: 37.89 kB / 0.7471 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.741, allocations: 0 / 0.7471 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002504/0.7412, allocations: 110.9 kB / 0.7472 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.7413, allocations: 77.11 kB / 0.7473 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.7414, allocations: 152.4 kB / 0.7475 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.7414, allocations: 29.08 kB / 0.7475 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.7415, allocations: 100.4 kB / 0.7476 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.7415, allocations: 33.55 kB / 0.7476 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7415, allocations: 7.312 kB / 0.7476 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.7416, allocations: 324 kB / 0.7479 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.7417, allocations: 25.44 kB / 0.748 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.7418, allocations: 47.16 kB / 0.748 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.7418, allocations: 28.52 kB / 0.748 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7418, allocations: 0 / 0.748 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001615/0.742, allocations: 113.1 kB / 0.7481 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.742, allocations: 5.5 kB / 0.7481 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.742, allocations: 4 kB / 0.7481 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.742, allocations: 7.859 kB / 0.7482 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.7422, allocations: 29.2 kB / 0.7482 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.7422, allocations: 0 / 0.7482 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7424, allocations: 25.48 kB / 0.7482 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7424, allocations: 0 / 0.7482 GB, free: 26 MB / 0.5105 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 () * 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.572e-05/0.7425, allocations: 115.3 kB / 0.7483 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.7425, allocations: 11.41 kB / 0.7483 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.7428, allocations: 127.5 kB / 0.7484 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7428, allocations: 7.953 kB / 0.7485 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7428, allocations: 0 / 0.7485 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7428, allocations: 0 / 0.7485 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.7431, allocations: 220.5 kB / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7431, allocations: 0 / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.7432, allocations: 28.94 kB / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7432, allocations: 3.844 kB / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7433, allocations: 0 / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.7433, allocations: 0 / 0.7487 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7433, allocations: 15.73 kB / 0.7487 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.7435, allocations: 279.1 kB / 0.749 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.7436, allocations: 88.73 kB / 0.7491 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.7436, allocations: 11.23 kB / 0.7491 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.7438, allocations: 22.56 kB / 0.7491 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.7439, allocations: 6.781 kB / 0.7491 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.7439, allocations: 7.781 kB / 0.7491 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.299e-05/0.744, allocations: 129.3 kB / 0.7492 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.744, allocations: 0 / 0.7492 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002528/0.7443, allocations: 26.12 kB / 0.7493 GB, free: 25.2 MB / 0.5105 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 () * 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.0001121/0.7444, allocations: 102.1 kB / 0.7494 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.7446, allocations: 72.44 kB / 0.7494 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7446, allocations: 4 kB / 0.7494 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.436e-05/0.7446, allocations: 38.81 kB / 0.7495 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.745, allocations: 37.61 kB / 0.7495 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.7453, allocations: 152.8 kB / 0.7496 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7456, allocations: 0.7122 MB / 0.7503 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.7457, allocations: 12.86 kB / 0.7504 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.7457, allocations: 17.56 kB / 0.7504 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.7457, allocations: 0 / 0.7504 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.003949/0.7497, allocations: 1.84 MB / 0.7522 GB, free: 24.17 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)