Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.000964/0.0009642, allocations: 174 kB / 326.5 MB, free: 2.684 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.482/1.482, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007587/0.0007588, allocations: 85.23 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 8.281 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002054/0.1975, allocations: 2.004 MB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1988, allocations: 0.9503 MB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.199, allocations: 0 / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.1996, allocations: 195.2 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1998, allocations: 55.64 kB / 0.8999 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2001, allocations: 79.89 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.2003, allocations: 219 kB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2004, allocations: 85.69 kB / 0.9002 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.2005, allocations: 75.52 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.2006, allocations: 83.45 kB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.2007, allocations: 8 kB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.2009, allocations: 135.8 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2011, allocations: 211.3 kB / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2012, allocations: 246.1 kB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.2016, allocations: 0.5493 MB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2016, allocations: 0 / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2016, allocations: 4 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.2016, allocations: 0 / 0.9015 GB, free: 63.28 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009467/0.2025, allocations: 0.8702 MB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2026, allocations: 12.03 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.2031, allocations: 123.9 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.2037, allocations: 0.5779 MB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2037, allocations: 12.38 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2038, allocations: 12.38 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2041, allocations: 198.1 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2041, allocations: 192 / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.2042, allocations: 3.938 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2042, allocations: 4 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.2045, allocations: 231.8 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.2055, allocations: 0.9215 MB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.2061, allocations: 314.4 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2063, allocations: 108.9 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008191/0.2071, allocations: 408.6 kB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2071, allocations: 38.56 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.2072, allocations: 3.984 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006965/0.2079, allocations: 404.5 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2079, allocations: 55.41 kB / 0.9057 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/0.2089, allocations: 0.9974 MB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2089, allocations: 25.7 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.2091, allocations: 348 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2091, allocations: 23.56 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2092, allocations: 21.7 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.2092, allocations: 306 kB / 0.9073 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2094, allocations: 99.95 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2096, allocations: 122.5 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.2099, allocations: 214.4 kB / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2099, allocations: 0 / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004934/0.2104, allocations: 332.8 kB / 0.9081 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2104, allocations: 4 kB / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2105, allocations: 96 / 0.9081 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2105, allocations: 7.938 kB / 0.9081 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2106, allocations: 23.97 kB / 0.9081 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2107, allocations: 4 kB / 0.9081 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2108, allocations: 4 kB / 0.9081 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2108, allocations: 15.98 kB / 0.9081 GB, free: 56.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0001899/0.211, allocations: 249.7 kB / 0.9083 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.2111, allocations: 75 kB / 0.9084 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.2116, allocations: 332.4 kB / 0.9087 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2116, allocations: 0 / 0.9087 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2117, allocations: 3.938 kB / 0.9087 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2117, allocations: 0 / 0.9087 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.2121, allocations: 0.5246 MB / 0.9093 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2121, allocations: 3.938 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.2122, allocations: 27.97 kB / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2122, allocations: 0 / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2122, allocations: 4 kB / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2123, allocations: 0 / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2123, allocations: 0 / 0.9093 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.2127, allocations: 402.5 kB / 0.9097 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2129, allocations: 184.1 kB / 0.9098 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.2129, allocations: 4 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.2131, allocations: 7.984 kB / 0.9099 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2131, allocations: 4 kB / 0.9099 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2132, allocations: 8 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006714/0.2138, allocations: 0.7176 MB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2138, allocations: 0 / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000319/0.2142, allocations: 75.84 kB / 0.9106 GB, free: 53.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 0.0001992/0.2144, allocations: 111.2 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2148, allocations: 223.9 kB / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2148, allocations: 0 / 0.911 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.215, allocations: 107.9 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2154, allocations: 52.97 kB / 0.9111 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2169, allocations: 1.392 MB / 0.9125 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2173, allocations: 0.9364 MB / 0.9134 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.2174, allocations: 35.44 kB / 0.9134 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2174, allocations: 0 / 0.9134 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.009235/0.2266, allocations: 7.237 MB / 0.9205 GB, free: 43.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)