Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.746/1.746, allocations: 287.5 MB / 302.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 178.9 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6299 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 89.27 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 19.77 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.001945/0.2183, allocations: 1.893 MB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2193, allocations: 0.8684 MB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.2194, allocations: 0 / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.2198, allocations: 183 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.2199, allocations: 55.62 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2202, allocations: 75.83 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2204, allocations: 211 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2205, allocations: 81.98 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.2206, allocations: 75.58 kB / 0.982 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.2207, allocations: 91.44 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2207, allocations: 8 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.221, allocations: 139.8 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2211, allocations: 191.5 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.2212, allocations: 125.3 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.2215, allocations: 0.5493 MB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2215, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2215, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2215, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 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.0007948/0.2223, allocations: 0.8763 MB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2224, allocations: 8.031 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.2228, allocations: 123.8 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.2234, allocations: 0.5934 MB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.2234, allocations: 8.375 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2234, allocations: 12.38 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.2237, allocations: 190.7 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2238, allocations: 192 / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2238, allocations: 11.94 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2238, allocations: 0 / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.2242, allocations: 235.8 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.2251, allocations: 0.9216 MB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2256, allocations: 314.5 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2258, allocations: 109 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/0.2266, allocations: 412.6 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.2267, allocations: 30.56 kB / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.2267, allocations: 0 / 0.9868 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006563/0.2273, allocations: 408.5 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2274, allocations: 51.41 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008849/0.2283, allocations: 0.9896 MB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2283, allocations: 25.7 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2285, allocations: 340 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.2285, allocations: 27.92 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.2285, allocations: 4 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.2286, allocations: 314 kB / 0.9889 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.2288, allocations: 99.94 kB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.2289, allocations: 114.5 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2293, allocations: 222.4 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2293, allocations: 4 kB / 0.9893 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004328/0.2297, allocations: 320.5 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.2298, allocations: 7.984 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2298, allocations: 0 / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2298, allocations: 4 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.23, allocations: 19.98 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.23, allocations: 4.062 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2301, allocations: 23.83 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.2302, allocations: 7.938 kB / 0.9897 GB, free: 16.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.2304, allocations: 245.7 kB / 0.9899 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.2304, allocations: 78.98 kB / 0.99 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.2309, allocations: 320.5 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2309, allocations: 4 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.231, allocations: 3.938 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.231, allocations: 0 / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.2314, allocations: 0.5247 MB / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2314, allocations: 3.938 kB / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2315, allocations: 19.98 kB / 0.9909 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2315, allocations: 192 / 0.9909 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2315, allocations: 4 kB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2315, allocations: 3.938 kB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2315, allocations: 4 kB / 0.9909 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.232, allocations: 402.5 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.2321, allocations: 184 kB / 0.9914 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.2322, allocations: 4 kB / 0.9914 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2324, allocations: 11.98 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.2324, allocations: 4 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2324, allocations: 7.984 kB / 0.9915 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006304/0.2331, allocations: 0.7098 MB / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2331, allocations: 0 / 0.9921 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003071/0.2334, allocations: 67.91 kB / 0.9922 GB, free: 13.91 MB / 0.6198 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 (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.0001814/0.2336, allocations: 115.2 kB / 0.9923 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.234, allocations: 219.8 kB / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.234, allocations: 0 / 0.9925 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2342, allocations: 108.1 kB / 0.9926 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2346, allocations: 59.22 kB / 0.9927 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2359, allocations: 1.283 MB / 0.9939 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2363, allocations: 0.9443 MB / 0.9949 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.2365, allocations: 85.31 kB / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.2366, allocations: 31.44 kB / 0.995 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2366, allocations: 0 / 0.995 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.008734/0.2453, allocations: 4.058 MB / 0.9989 GB, free: 6.957 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)