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.465/1.465, allocations: 252 MB / 268 MB, free: 10.86 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.001068/0.001068, allocations: 176 kB / 327.6 MB, free: 2.121 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.64/1.64, allocations: 205.4 MB / 0.5786 GB, free: 20.47 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.0007583/0.0007582, allocations: 86.36 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 9.281 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1916, allocations: 106.3 MB / 0.9015 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002202/0.1939, allocations: 2.151 MB / 0.9036 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.1946, allocations: 0.5285 MB / 0.9041 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1948, allocations: 4 kB / 0.9041 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1952, allocations: 124.5 kB / 0.9042 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1954, allocations: 71.47 kB / 0.9043 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.1955, allocations: 43.91 kB / 0.9043 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1957, allocations: 234.7 kB / 0.9045 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1959, allocations: 94.08 kB / 0.9046 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1961, allocations: 71.61 kB / 0.9047 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1962, allocations: 95.5 kB / 0.9048 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1962, allocations: 8 kB / 0.9048 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.1963, allocations: 8 kB / 0.9048 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.1964, allocations: 63.7 kB / 0.9049 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1965, allocations: 168.6 kB / 0.905 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1966, allocations: 251.6 kB / 0.9053 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1967, allocations: 4 kB / 0.9053 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1967, allocations: 0 / 0.9053 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.1967, allocations: 3.938 kB / 0.9053 GB, free: 59.95 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.0006529/0.1973, allocations: 0.5989 MB / 0.9058 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1974, allocations: 8.031 kB / 0.9059 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.1975, allocations: 40.47 kB / 0.9059 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1978, allocations: 310.1 kB / 0.9062 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1978, allocations: 12.38 kB / 0.9062 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1978, allocations: 16.38 kB / 0.9062 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1981, allocations: 138 kB / 0.9063 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1981, allocations: 192 / 0.9063 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1981, allocations: 11.94 kB / 0.9064 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1981, allocations: 0 / 0.9064 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1984, allocations: 103.6 kB / 0.9065 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.199, allocations: 0.5781 MB / 0.907 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1993, allocations: 94.53 kB / 0.9071 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.1994, allocations: 52.89 kB / 0.9072 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1994, allocations: 0 / 0.9072 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1994, allocations: 34.56 kB / 0.9072 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1994, allocations: 0 / 0.9072 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003167/0.1997, allocations: 141.2 kB / 0.9073 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.1998, allocations: 55.34 kB / 0.9074 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.2001, allocations: 401.8 kB / 0.9078 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.2001, allocations: 25.7 kB / 0.9078 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2002, allocations: 220 kB / 0.908 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.2002, allocations: 35.48 kB / 0.908 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2002, allocations: 0 / 0.908 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.2003, allocations: 354.7 kB / 0.9084 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.2004, allocations: 20 kB / 0.9084 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.2005, allocations: 63.41 kB / 0.9085 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2006, allocations: 87.67 kB / 0.9085 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2006, allocations: 0 / 0.9085 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002018/0.2008, allocations: 157.1 kB / 0.9087 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2009, allocations: 4 kB / 0.9087 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2009, allocations: 0 / 0.9087 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2009, allocations: 4 kB / 0.9087 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.201, allocations: 23.98 kB / 0.9087 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.201, allocations: 0 / 0.9087 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.2011, allocations: 4 kB / 0.9087 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2011, allocations: 12 kB / 0.9087 GB, free: 56.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.2012, allocations: 173.7 kB / 0.9089 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2013, allocations: 39.53 kB / 0.9089 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.2014, allocations: 35.22 kB / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2014, allocations: 4 kB / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2014, allocations: 0 / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2014, allocations: 0 / 0.909 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2017, allocations: 309.4 kB / 0.9093 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2017, allocations: 0 / 0.9093 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.2018, allocations: 19.98 kB / 0.9093 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2018, allocations: 0 / 0.9093 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2018, allocations: 4 kB / 0.9093 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2018, allocations: 0 / 0.9093 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2018, allocations: 0 / 0.9093 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.2021, allocations: 263 kB / 0.9095 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.2022, allocations: 112.7 kB / 0.9096 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.2023, allocations: 7.938 kB / 0.9097 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2024, allocations: 4 kB / 0.9097 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2024, allocations: 19.97 kB / 0.9097 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2024, allocations: 0 / 0.9097 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002244/0.2027, allocations: 283.1 kB / 0.9099 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2027, allocations: 0 / 0.9099 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002507/0.2029, allocations: 47.78 kB / 0.91 GB, free: 54.76 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001062/0.203, allocations: 99.25 kB / 0.9101 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2032, allocations: 72.09 kB / 0.9102 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2033, allocations: 4 kB / 0.9102 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.2033, allocations: 35.92 kB / 0.9102 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2037, allocations: 23.06 kB / 0.9102 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2047, allocations: 0.8388 MB / 0.911 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2049, allocations: 0.8023 MB / 0.9118 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.205, allocations: 11.44 kB / 0.9118 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.205, allocations: 0 / 0.9118 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.004337/0.2093, allocations: 3.001 MB / 0.9148 GB, free: 49.82 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)