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.368/1.368, 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.0009645/0.0009646, allocations: 183.6 kB / 327.6 MB, free: 2.094 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.59/1.59, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0007817/0.0007815, allocations: 85.25 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 12.56 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002534/0.2091, allocations: 1.976 MB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2106, allocations: 0.9426 MB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2108, allocations: 0 / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.2114, allocations: 191.2 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.2117, allocations: 55.62 kB / 0.9045 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.2121, allocations: 91.83 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.2124, allocations: 211.1 kB / 0.9048 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.2125, allocations: 81.69 kB / 0.9049 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.2127, allocations: 75.47 kB / 0.905 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2128, allocations: 83.45 kB / 0.9051 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2128, allocations: 4 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.2131, allocations: 147.8 kB / 0.9052 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2133, allocations: 203.4 kB / 0.9054 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2134, allocations: 275.8 kB / 0.9057 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2138, allocations: 0.5457 MB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2138, allocations: 4 kB / 0.9062 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2138, allocations: 0 / 0.9062 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2138, allocations: 0 / 0.9062 GB, free: 58.6 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.0008931/0.2147, allocations: 0.8663 MB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2148, allocations: 12.02 kB / 0.9071 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.2153, allocations: 119.9 kB / 0.9072 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.2159, allocations: 0.5934 MB / 0.9078 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2159, allocations: 4.375 kB / 0.9078 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.216, allocations: 12.38 kB / 0.9078 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.2163, allocations: 198.1 kB / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2163, allocations: 192 / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2164, allocations: 7.938 kB / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2164, allocations: 4 kB / 0.908 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.2168, allocations: 239.8 kB / 0.9082 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.2178, allocations: 0.9099 MB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.2183, allocations: 318.5 kB / 0.9094 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.2185, allocations: 104.8 kB / 0.9095 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/0.2194, allocations: 408.7 kB / 0.9099 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.2194, allocations: 34.56 kB / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2194, allocations: 0 / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0007192/0.2201, allocations: 400.8 kB / 0.9103 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2202, allocations: 55.41 kB / 0.9103 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/0.2211, allocations: 0.9935 MB / 0.9113 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2211, allocations: 33.69 kB / 0.9114 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.2213, allocations: 340 kB / 0.9117 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.2213, allocations: 31.55 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-06/0.2213, allocations: 0 / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.2214, allocations: 314 kB / 0.912 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.2216, allocations: 91.95 kB / 0.9121 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.2218, allocations: 122.5 kB / 0.9122 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.2221, allocations: 214.4 kB / 0.9124 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2221, allocations: 3.938 kB / 0.9124 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004415/0.2226, allocations: 328.5 kB / 0.9127 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2226, allocations: 8 kB / 0.9127 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2226, allocations: 0 / 0.9127 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2226, allocations: 0 / 0.9127 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.2228, allocations: 31.95 kB / 0.9128 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2228, allocations: 64 / 0.9128 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.223, allocations: 15.94 kB / 0.9128 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.223, allocations: 11.98 kB / 0.9128 GB, free: 51.58 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.0001896/0.2232, allocations: 249.7 kB / 0.913 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.2233, allocations: 75 kB / 0.9131 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.2238, allocations: 332.6 kB / 0.9134 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2238, allocations: 4 kB / 0.9134 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2238, allocations: 0 / 0.9134 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2238, allocations: 0 / 0.9134 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.2243, allocations: 0.5324 MB / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2243, allocations: 3.938 kB / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.2244, allocations: 19.98 kB / 0.914 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2244, allocations: 0 / 0.914 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2245, allocations: 0 / 0.914 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2245, allocations: 4 kB / 0.914 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2245, allocations: 0 / 0.914 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.2249, allocations: 406.5 kB / 0.9144 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.2251, allocations: 184 kB / 0.9145 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.2251, allocations: 0 / 0.9145 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2253, allocations: 15.98 kB / 0.9146 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2254, allocations: 4 kB / 0.9146 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2254, allocations: 4 kB / 0.9146 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007019/0.2261, allocations: 0.7176 MB / 0.9153 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2261, allocations: 0 / 0.9153 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003236/0.2264, allocations: 71.91 kB / 0.9153 GB, free: 48.89 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.0001961/0.2266, allocations: 115.1 kB / 0.9154 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.227, allocations: 215.8 kB / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2271, allocations: 0 / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2272, allocations: 107.9 kB / 0.9157 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.2277, allocations: 55.94 kB / 0.9158 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2293, allocations: 1.417 MB / 0.9172 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2297, allocations: 0.9404 MB / 0.9181 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.2298, allocations: 31.44 kB / 0.9181 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2298, allocations: 4 kB / 0.9181 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.008973/0.2388, allocations: 7.233 MB / 0.9252 GB, free: 38.71 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)