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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.934/1.934, allocations: 288.4 MB / 303.3 MB, free: 8.215 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.001158/0.001158, allocations: 181.3 kB / 372 MB, free: 10.29 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.761/1.761, allocations: 205.4 MB / 0.6307 GB, free: 9.938 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.0009627/0.0009629, allocations: 98.28 kB / 0.744 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 16.58 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 115.3 MB / 0.9797 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002729/0.2284, allocations: 1.886 MB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2299, allocations: 0.8683 MB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.23, allocations: 4 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.2306, allocations: 175 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.2308, allocations: 55.64 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.2312, allocations: 83.83 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.2315, allocations: 195.1 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.2317, allocations: 69.92 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2318, allocations: 71.59 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.232, allocations: 91.44 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.232, allocations: 4 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.2324, allocations: 135.8 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.2326, allocations: 199.5 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.2327, allocations: 121.3 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.2333, allocations: 0.5454 MB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.2333, allocations: 0 / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2333, allocations: 4 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.2333, allocations: 0 / 0.984 GB, free: 23.07 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.001378/0.2347, allocations: 0.8817 MB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.2348, allocations: 12.03 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.2349, allocations: 50.42 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.2356, allocations: 118.9 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009747/0.2366, allocations: 0.5616 MB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2366, allocations: 15.98 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.2367, allocations: 15.98 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.2372, allocations: 186.1 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2372, allocations: 0 / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2373, allocations: 4 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2373, allocations: 4 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.2379, allocations: 235.9 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2393, allocations: 0.9216 MB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.2401, allocations: 310.4 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.2404, allocations: 113 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.2417, allocations: 400.7 kB / 0.9877 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2418, allocations: 30.56 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.2418, allocations: 0 / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001064/0.2429, allocations: 404.5 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.2429, allocations: 55.34 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.2444, allocations: 0.9934 MB / 0.9892 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2444, allocations: 25.7 kB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.2448, allocations: 340 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2448, allocations: 35.53 kB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.2448, allocations: 4 kB / 0.9896 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.2449, allocations: 310 kB / 0.9899 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.2452, allocations: 99.94 kB / 0.99 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2455, allocations: 118.5 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2458, allocations: 104.3 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2458, allocations: 0 / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007083/0.2465, allocations: 324.5 kB / 0.9905 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2465, allocations: 4 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2465, allocations: 4 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2466, allocations: 0 / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2468, allocations: 23.98 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2468, allocations: 0 / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2471, allocations: 19.98 kB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2471, allocations: 7.953 kB / 0.9905 GB, free: 16.15 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.0003067/0.2475, allocations: 251.2 kB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.2476, allocations: 71.06 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008229/0.2484, allocations: 332.4 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2484, allocations: 0 / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2485, allocations: 4 kB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2485, allocations: 7.984 kB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.2491, allocations: 0.5246 MB / 0.9917 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2491, allocations: 0 / 0.9917 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.2493, allocations: 19.98 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2494, allocations: 0 / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2494, allocations: 8 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2494, allocations: 0 / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2494, allocations: 0 / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.2501, allocations: 406.4 kB / 0.9921 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.2504, allocations: 184.1 kB / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.2505, allocations: 4.281 kB / 0.9923 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.2508, allocations: 7.984 kB / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.2509, allocations: 11.98 kB / 0.9923 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2509, allocations: 7.938 kB / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001086/0.252, allocations: 0.7059 MB / 0.993 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.82e-07/0.252, allocations: 4 kB / 0.993 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005475/0.2525, allocations: 71.83 kB / 0.9931 GB, free: 13.46 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.001021/0.2536, allocations: 0.9497 MB / 0.994 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005613/0.2542, allocations: 219.9 kB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2542, allocations: 4 kB / 0.9942 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.2544, allocations: 99.95 kB / 0.9943 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.255, allocations: 52.8 kB / 0.9944 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008856/0.2639, allocations: 4.711 MB / 0.999 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.2644, allocations: 0.9536 MB / 0.9999 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.2648, allocations: 77.33 kB / 1 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.2651, allocations: 219.8 kB / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.2651, allocations: 0 / 1 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.2962, allocations: 11.59 MB / 1.011 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.2965, allocations: 207.7 kB / 1.012 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.559, allocations: 4 kB / 1.012 GB, free: 10.39 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)