Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.4 MB / 303.7 MB, free: 8.164 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.001017/0.001017, allocations: 183.7 kB / 372.3 MB, free: 10.12 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.711/1.711, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0008445/0.0008443, allocations: 90.3 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 16.38 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002765/0.2277, allocations: 1.89 MB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2294, allocations: 0.8683 MB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.2297, allocations: 0 / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.2304, allocations: 179 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.2307, allocations: 59.62 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.2311, allocations: 79.83 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.2314, allocations: 207.1 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.2316, allocations: 77.98 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2318, allocations: 71.59 kB / 0.9835 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2319, allocations: 87.5 kB / 0.9836 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.2319, allocations: 11.94 kB / 0.9836 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2322, allocations: 139.8 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2324, allocations: 195.4 kB / 0.9839 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.2326, allocations: 260 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.2331, allocations: 0.5454 MB / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2331, allocations: 0 / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2331, allocations: 0 / 0.9847 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.2332, allocations: 0 / 0.9847 GB, free: 22.66 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.001235/0.2344, allocations: 0.8741 MB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.2345, allocations: 12.03 kB / 0.9855 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.235, allocations: 119.8 kB / 0.9856 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.2358, allocations: 0.5973 MB / 0.9862 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2359, allocations: 12.38 kB / 0.9862 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2359, allocations: 12.38 kB / 0.9863 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.2363, allocations: 190.6 kB / 0.9864 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2363, allocations: 8.172 kB / 0.9864 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2363, allocations: 11.94 kB / 0.9865 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2363, allocations: 4 kB / 0.9865 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2367, allocations: 227.8 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/0.2377, allocations: 0.9139 MB / 0.9876 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.2382, allocations: 318.4 kB / 0.9879 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2384, allocations: 101 kB / 0.988 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/0.2393, allocations: 408.7 kB / 0.9884 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2393, allocations: 34.56 kB / 0.9884 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.2393, allocations: 4 kB / 0.9884 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006548/0.24, allocations: 396.5 kB / 0.9888 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.24, allocations: 55.41 kB / 0.9888 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.2409, allocations: 0.9896 MB / 0.9898 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.2409, allocations: 29.7 kB / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2411, allocations: 340 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2411, allocations: 31.55 kB / 0.9902 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.2411, allocations: 384 / 0.9902 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.2412, allocations: 310 kB / 0.9905 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2413, allocations: 99.94 kB / 0.9906 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.2415, allocations: 114.5 kB / 0.9907 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.2418, allocations: 226.4 kB / 0.9909 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2418, allocations: 0 / 0.9909 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004323/0.2423, allocations: 320.5 kB / 0.9912 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2423, allocations: 11.98 kB / 0.9912 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2423, allocations: 0 / 0.9912 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2423, allocations: 7.938 kB / 0.9912 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2425, allocations: 19.98 kB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2425, allocations: 4 kB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.2427, allocations: 15.83 kB / 0.9913 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2427, allocations: 4 kB / 0.9913 GB, free: 15.64 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.0001888/0.2429, allocations: 253.7 kB / 0.9915 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.2429, allocations: 78.98 kB / 0.9916 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.2435, allocations: 324.5 kB / 0.9919 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2435, allocations: 0 / 0.9919 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2435, allocations: 0 / 0.9919 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2435, allocations: 0 / 0.9919 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.2439, allocations: 0.5285 MB / 0.9924 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2439, allocations: 3.938 kB / 0.9924 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.244, allocations: 23.98 kB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.244, allocations: 3.984 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2441, allocations: 4.188 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2441, allocations: 0 / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2441, allocations: 3.938 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.2445, allocations: 406.5 kB / 0.9928 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.2447, allocations: 184 kB / 0.993 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.2447, allocations: 8 kB / 0.993 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2449, allocations: 11.98 kB / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2449, allocations: 0 / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2449, allocations: 7.984 kB / 0.993 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006369/0.2456, allocations: 0.7098 MB / 0.9937 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2456, allocations: 0 / 0.9937 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003106/0.2459, allocations: 71.91 kB / 0.9938 GB, free: 12.94 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.0002124/0.2461, allocations: 111.2 kB / 0.9939 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.2465, allocations: 220 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2466, allocations: 3.938 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2467, allocations: 104 kB / 0.9942 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2471, allocations: 59.92 kB / 0.9943 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2485, allocations: 1.282 MB / 0.9955 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2489, allocations: 0.9426 MB / 0.9964 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.2491, allocations: 77.33 kB / 0.9965 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.2492, allocations: 35.38 kB / 0.9965 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2492, allocations: 0 / 0.9965 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.008068/0.2573, allocations: 4.073 MB / 1.001 GB, free: 5.996 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)