Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001749/0.001749, allocations: 182.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6108/0.6108, allocations: 90.8 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 102.2 kB / 421.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.987e-05, allocations: 0 / 0.4896 GB, free: 46.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 72.31 MB / 0.5602 GB, free: 6.418 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5575/0.7146, allocations: 102.1 MB / 0.6599 GB, free: 5.758 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.7149, allocations: 75.58 kB / 0.66 GB, free: 5.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005432/0.7204, allocations: 1.905 MB / 0.6618 GB, free: 4.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7204, allocations: 3.938 kB / 0.6618 GB, free: 4.047 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.7204, allocations: 0 / 0.6618 GB, free: 4.047 MB / 458.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.0006608/0.7211, allocations: 422.9 kB / 0.6623 GB, free: 3.598 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.7212, allocations: 15.98 kB / 0.6623 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.7212, allocations: 15.77 kB / 0.6623 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.7215, allocations: 205.8 kB / 0.6625 GB, free: 3.332 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.7216, allocations: 3.375 kB / 0.6625 GB, free: 3.332 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.7216, allocations: 8 kB / 0.6625 GB, free: 3.324 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.7218, allocations: 96.14 kB / 0.6626 GB, free: 3.238 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7218, allocations: 0 / 0.6626 GB, free: 3.238 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.7219, allocations: 7.875 kB / 0.6626 GB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.7219, allocations: 7.953 kB / 0.6626 GB, free: 3.227 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.722, allocations: 59.3 kB / 0.6627 GB, free: 3.188 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.7228, allocations: 476.8 kB / 0.6631 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.7231, allocations: 116.2 kB / 0.6632 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.7232, allocations: 44.53 kB / 0.6633 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.7233, allocations: 0 / 0.6633 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.7233, allocations: 44.92 kB / 0.6633 GB, free: 2.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.7233, allocations: 0 / 0.6633 GB, free: 2.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002911/0.7236, allocations: 102.9 kB / 0.6634 GB, free: 2.441 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.7237, allocations: 81.11 kB / 0.6635 GB, free: 2.344 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.7239, allocations: 152.6 kB / 0.6636 GB, free: 2.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7239, allocations: 25.7 kB / 0.6636 GB, free: 2.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.724, allocations: 105.8 kB / 0.6638 GB, free: 2.078 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.724, allocations: 30.5 kB / 0.6638 GB, free: 2.055 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.7241, allocations: 4 kB / 0.6638 GB, free: 2.051 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7242, allocations: 322.7 kB / 0.6641 GB, free: 1.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.7243, allocations: 29.94 kB / 0.6641 GB, free: 1.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.7243, allocations: 48.52 kB / 0.6642 GB, free: 1.672 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.7244, allocations: 23.06 kB / 0.6642 GB, free: 1.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7244, allocations: 0 / 0.6642 GB, free: 1.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.7246, allocations: 114.8 kB / 0.6643 GB, free: 1.562 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7246, allocations: 8.609 kB / 0.6643 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7247, allocations: 4 kB / 0.6643 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7247, allocations: 4 kB / 0.6643 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.7248, allocations: 27.61 kB / 0.6643 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7249, allocations: 0 / 0.6643 GB, free: 1.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.725, allocations: 23.83 kB / 0.6644 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.725, allocations: 0 / 0.6644 GB, free: 1.5 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 () * 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 8.519e-05/0.7251, allocations: 116.2 kB / 0.6645 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.7252, allocations: 19.8 kB / 0.6645 GB, free: 1.363 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.7254, allocations: 126.8 kB / 0.6646 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7255, allocations: 7.969 kB / 0.6646 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7255, allocations: 4 kB / 0.6646 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7255, allocations: 3.938 kB / 0.6646 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.7258, allocations: 214.5 kB / 0.6648 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7258, allocations: 4 kB / 0.6648 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.7259, allocations: 23.98 kB / 0.6649 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7259, allocations: 4 kB / 0.6649 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.726, allocations: 7.703 kB / 0.6649 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.726, allocations: 0 / 0.6649 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.726, allocations: 0 / 0.6649 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.7263, allocations: 297.3 kB / 0.6652 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.7263, allocations: 88.97 kB / 0.6652 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.7264, allocations: 0 / 0.6652 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.7265, allocations: 15.36 kB / 0.6653 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.7266, allocations: 7.984 kB / 0.6653 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.7266, allocations: 4.188 kB / 0.6653 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.7267, allocations: 121.3 kB / 0.6654 GB, free: 464 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7267, allocations: 0 / 0.6654 GB, free: 464 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.727, allocations: 31.94 kB / 0.6654 GB, free: 436 kB / 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 () * 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.0001372/0.7271, allocations: 99.19 kB / 0.6655 GB, free: 324 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.7273, allocations: 76.23 kB / 0.6656 GB, free: 272 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7274, allocations: 0 / 0.6656 GB, free: 272 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.7274, allocations: 38.25 kB / 0.6656 GB, free: 244 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.7278, allocations: 42.58 kB / 0.6657 GB, free: 212 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.7282, allocations: 150.8 kB / 0.6658 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.7286, allocations: 0.7086 MB / 0.6665 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.625e-05/0.7287, allocations: 16.77 kB / 0.6665 GB, free: 15.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.7288, allocations: 11.44 kB / 0.6665 GB, free: 15.29 MB / 474.7 MB Notification: Performance of SimCode: time 7.22e-07/0.7288, allocations: 7.938 kB / 0.6665 GB, free: 15.28 MB / 474.7 MB Notification: Performance of Templates: time 0.005017/0.7338, allocations: 1.834 MB / 0.6683 GB, free: 13.5 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)