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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6948/0.6948, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.612/1.612, allocations: 222.9 MB / 404.7 MB, free: 6.031 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.001067/0.001067, allocations: 106 kB / 485.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1371, allocations: 80.43 MB / 0.6421 GB, free: 5.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003136/0.1403, allocations: 1.88 MB / 0.644 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.1407, allocations: 111.6 kB / 0.6441 GB, free: 3.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1408, allocations: 4 kB / 0.6441 GB, free: 3.453 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1409, allocations: 11.86 kB / 0.6441 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1411, allocations: 47.62 kB / 0.6441 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.1412, allocations: 35.95 kB / 0.6442 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1414, allocations: 167.1 kB / 0.6443 GB, free: 3.195 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1415, allocations: 25.11 kB / 0.6444 GB, free: 3.172 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.1416, allocations: 51.84 kB / 0.6444 GB, free: 3.121 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.1417, allocations: 67.69 kB / 0.6445 GB, free: 3.055 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1417, allocations: 4 kB / 0.6445 GB, free: 3.051 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.1418, allocations: 4 kB / 0.6445 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1418, allocations: 19.91 kB / 0.6445 GB, free: 3.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1419, allocations: 55.73 kB / 0.6445 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.142, allocations: 115.8 kB / 0.6447 GB, free: 2.859 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.142, allocations: 0 / 0.6447 GB, free: 2.859 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1421, allocations: 4 kB / 0.6447 GB, free: 2.855 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1421, allocations: 0 / 0.6447 GB, free: 2.855 MB / 442.7 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.0007423/0.1428, allocations: 458.8 kB / 0.6451 GB, free: 2.355 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1428, allocations: 8.031 kB / 0.6451 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1429, allocations: 16.75 kB / 0.6451 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1431, allocations: 209.3 kB / 0.6453 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1431, allocations: 8.375 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1432, allocations: 8.375 kB / 0.6453 GB, free: 2.074 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1434, allocations: 111.9 kB / 0.6454 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1434, allocations: 8.125 kB / 0.6455 GB, free: 1.945 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1435, allocations: 7.938 kB / 0.6455 GB, free: 1.938 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1435, allocations: 3.984 kB / 0.6455 GB, free: 1.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1438, allocations: 91.94 kB / 0.6455 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.1444, allocations: 476.5 kB / 0.646 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.1448, allocations: 133.2 kB / 0.6461 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.145, allocations: 61.78 kB / 0.6462 GB, free: 1.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.145, allocations: 3.938 kB / 0.6462 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.145, allocations: 38.56 kB / 0.6462 GB, free: 1.059 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.145, allocations: 0 / 0.6462 GB, free: 1.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005639/0.1456, allocations: 181.4 kB / 0.6464 GB, free: 0.875 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1457, allocations: 77.11 kB / 0.6465 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1458, allocations: 170.3 kB / 0.6466 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1458, allocations: 33.7 kB / 0.6467 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1459, allocations: 108 kB / 0.6468 GB, free: 468 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1459, allocations: 31.55 kB / 0.6468 GB, free: 436 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.146, allocations: 25.72 kB / 0.6468 GB, free: 404 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1461, allocations: 326.8 kB / 0.6471 GB, free: 68 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1463, allocations: 39.97 kB / 0.6472 GB, free: 28 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1464, allocations: 69.61 kB / 0.6472 GB, free: 15.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1467, allocations: 101.9 kB / 0.6473 GB, free: 15.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1467, allocations: 0 / 0.6473 GB, free: 15.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003457/0.1471, allocations: 141.5 kB / 0.6475 GB, free: 15.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1471, allocations: 8 kB / 0.6475 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1471, allocations: 4 kB / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1471, allocations: 0 / 0.6475 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1473, allocations: 23.97 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1473, allocations: 4 kB / 0.6475 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1474, allocations: 11.89 kB / 0.6475 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1474, allocations: 7.938 kB / 0.6475 GB, free: 15.64 MB / 458.7 MB 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 8.952e-05/0.1475, allocations: 121.8 kB / 0.6477 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1476, allocations: 19.81 kB / 0.6477 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.148, allocations: 150.5 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.148, allocations: 4 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.148, allocations: 3.984 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.148, allocations: 0 / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1483, allocations: 229.5 kB / 0.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1483, allocations: 0 / 0.648 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.1485, allocations: 23.98 kB / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1485, allocations: 0 / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1485, allocations: 4 kB / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1485, allocations: 0 / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1485, allocations: 192 / 0.6481 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.1494, allocations: 0.9457 MB / 0.649 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.1494, allocations: 85.02 kB / 0.6491 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1495, allocations: 3.938 kB / 0.6491 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.1496, allocations: 11.98 kB / 0.6491 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1497, allocations: 8.219 kB / 0.6491 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1497, allocations: 8 kB / 0.6491 GB, free: 13.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.736e-05/0.1498, allocations: 128.8 kB / 0.6492 GB, free: 13.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1498, allocations: 0 / 0.6492 GB, free: 13.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.1502, allocations: 31.91 kB / 0.6493 GB, free: 13.74 MB / 458.7 MB 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 9.325e-05/0.1503, allocations: 107.2 kB / 0.6494 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1506, allocations: 95.88 kB / 0.6494 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1507, allocations: 4 kB / 0.6495 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1508, allocations: 55.91 kB / 0.6495 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1513, allocations: 37.94 kB / 0.6495 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.1518, allocations: 384.2 kB / 0.6499 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1521, allocations: 0.7087 MB / 0.6506 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.649e-05/0.1522, allocations: 12.64 kB / 0.6506 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.1523, allocations: 19.44 kB / 0.6506 GB, free: 12.25 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1523, allocations: 3.938 kB / 0.6506 GB, free: 12.25 MB / 458.7 MB Notification: Performance of Templates: time 0.004412/0.1567, allocations: 1.971 MB / 0.6526 GB, free: 10.32 MB / 458.7 MB 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)