Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, 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.001813/0.001814, allocations: 180.3 kB / 327.3 MB, free: 2.207 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.581/1.581, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0006906/0.0006906, allocations: 90.3 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 13.34 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00196/0.1737, allocations: 2.085 MB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000536/0.1742, allocations: 0.5163 MB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.1743, allocations: 4 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1746, allocations: 107.4 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.932e-05/0.1747, allocations: 83.39 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.62e-05/0.1748, allocations: 23.98 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.175, allocations: 234.6 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1751, allocations: 81.33 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.1752, allocations: 71.73 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1753, allocations: 95.5 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1753, allocations: 8 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.1754, allocations: 12 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1754, allocations: 63.7 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1755, allocations: 85.45 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1756, allocations: 255.6 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1756, allocations: 0 / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1756, allocations: 0 / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1757, allocations: 3.938 kB / 0.9045 GB, free: 60.15 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005814/0.1762, allocations: 0.6026 MB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1763, allocations: 8.031 kB / 0.905 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1763, allocations: 39.53 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1766, allocations: 289.2 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1766, allocations: 12 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1767, allocations: 12 kB / 0.9054 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1769, allocations: 141.6 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1769, allocations: 0 / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1769, allocations: 4 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.177, allocations: 4 kB / 0.9055 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1771, allocations: 95.64 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.1777, allocations: 0.5899 MB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.1779, allocations: 82.62 kB / 0.9063 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.1781, allocations: 52.86 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1781, allocations: 8 kB / 0.9063 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.1781, allocations: 30.56 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1781, allocations: 0 / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000289/0.1784, allocations: 141.2 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.1784, allocations: 55.36 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1787, allocations: 390 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1787, allocations: 29.64 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.1788, allocations: 219.9 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1789, allocations: 31.55 kB / 0.9072 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1789, allocations: 8 kB / 0.9072 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.1789, allocations: 346.8 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.179, allocations: 28.36 kB / 0.9076 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.1791, allocations: 55.42 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.1792, allocations: 39.92 kB / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1792, allocations: 0 / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001979/0.1794, allocations: 141.2 kB / 0.9078 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1794, allocations: 8 kB / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1794, allocations: 0 / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1794, allocations: 0 / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1795, allocations: 39.95 kB / 0.9078 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1796, allocations: 7.953 kB / 0.9078 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.1796, allocations: 11.84 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1797, allocations: 4 kB / 0.9078 GB, free: 56.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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 0.0001039/0.1798, allocations: 161.8 kB / 0.908 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1798, allocations: 35.53 kB / 0.908 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.1799, allocations: 43.22 kB / 0.9081 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1799, allocations: 4 kB / 0.9081 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1799, allocations: 0 / 0.9081 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1799, allocations: 7.953 kB / 0.9081 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1801, allocations: 297.5 kB / 0.9084 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1801, allocations: 0 / 0.9084 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1802, allocations: 27.92 kB / 0.9084 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1802, allocations: 4 kB / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1803, allocations: 0 / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1803, allocations: 0 / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1803, allocations: 0 / 0.9084 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1805, allocations: 263.1 kB / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1806, allocations: 116.6 kB / 0.9088 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1806, allocations: 0 / 0.9088 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.1807, allocations: 4 kB / 0.9088 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1808, allocations: 7.984 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1808, allocations: 4 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001854/0.181, allocations: 275.1 kB / 0.909 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.181, allocations: 4.062 kB / 0.909 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002316/0.1812, allocations: 47.84 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.842e-05/0.1813, allocations: 95.25 kB / 0.9092 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1815, allocations: 75.84 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1815, allocations: 0 / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.1816, allocations: 31.98 kB / 0.9093 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1819, allocations: 29.7 kB / 0.9093 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.1828, allocations: 0.8463 MB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.183, allocations: 0.7945 MB / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.183, allocations: 15.44 kB / 0.9109 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1831, allocations: 4 kB / 0.9109 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.00358/0.1866, allocations: 3.017 MB / 0.9139 GB, free: 50.11 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)