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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 252 MB / 267 MB, free: 10.98 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.001213/0.001213, allocations: 193 kB / 326.6 MB, free: 2.211 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.845/1.845, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008942/0.0008943, allocations: 95.94 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 11.97 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 106.3 MB / 0.9003 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002043/0.2227, allocations: 1.914 MB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000974/0.2237, allocations: 0.8605 MB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.2238, allocations: 4 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.2242, allocations: 183 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.2243, allocations: 55.58 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2245, allocations: 79.89 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.2247, allocations: 195 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2249, allocations: 65.64 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.225, allocations: 75.58 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.2251, allocations: 91.45 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2251, allocations: 8 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2253, allocations: 135.8 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2254, allocations: 199.4 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.2255, allocations: 117.3 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.2258, allocations: 0.5496 MB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2259, allocations: 4 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2259, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.2259, allocations: 0 / 0.9047 GB, free: 59.21 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.0008839/0.2268, allocations: 0.8817 MB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2268, allocations: 8.031 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2269, allocations: 50.48 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.2273, allocations: 115 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.2279, allocations: 0.5462 MB / 0.9063 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.228, allocations: 8 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.228, allocations: 23.86 kB / 0.9063 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.2283, allocations: 189.6 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2283, allocations: 0 / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2284, allocations: 7.984 kB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2284, allocations: 8 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.2287, allocations: 227.9 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.2296, allocations: 0.9216 MB / 0.9076 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.2302, allocations: 318.5 kB / 0.9079 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.2304, allocations: 104.9 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/0.2312, allocations: 400.7 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2312, allocations: 34.56 kB / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2312, allocations: 0 / 0.9084 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006795/0.2319, allocations: 396.6 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.232, allocations: 63.34 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.2328, allocations: 0.9857 MB / 0.9098 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2329, allocations: 29.7 kB / 0.9099 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.2331, allocations: 347.9 kB / 0.9102 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.2331, allocations: 35.53 kB / 0.9102 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.2331, allocations: 4 kB / 0.9102 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.2332, allocations: 310 kB / 0.9105 GB, free: 53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2334, allocations: 95.94 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.2335, allocations: 122.5 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2337, allocations: 95.95 kB / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2337, allocations: 0 / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004314/0.2342, allocations: 328.8 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2342, allocations: 8 kB / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2342, allocations: 0 / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2342, allocations: 0 / 0.9112 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2344, allocations: 24.05 kB / 0.9112 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.029e-05/0.2344, allocations: 4 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.2346, allocations: 15.84 kB / 0.9112 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2346, allocations: 7.984 kB / 0.9112 GB, free: 52.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.2348, allocations: 253.7 kB / 0.9115 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.2349, allocations: 71.06 kB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.2354, allocations: 332.4 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2355, allocations: 4 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2355, allocations: 3.938 kB / 0.9118 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2355, allocations: 0 / 0.9118 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.2359, allocations: 0.5285 MB / 0.9124 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2359, allocations: 0 / 0.9124 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.236, allocations: 19.98 kB / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.236, allocations: 0 / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2361, allocations: 0 / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2361, allocations: 0 / 0.9124 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2361, allocations: 7.984 kB / 0.9124 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.2365, allocations: 406.4 kB / 0.9128 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.2367, allocations: 184 kB / 0.9129 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.2367, allocations: 4 kB / 0.913 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2369, allocations: 11.98 kB / 0.913 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.237, allocations: 7.984 kB / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.237, allocations: 0 / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006745/0.2376, allocations: 0.7101 MB / 0.9137 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2377, allocations: 0 / 0.9137 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003222/0.238, allocations: 71.94 kB / 0.9137 GB, free: 49.62 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 (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.0008131/0.2388, allocations: 0.9574 MB / 0.9147 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.2392, allocations: 215.8 kB / 0.9149 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2393, allocations: 3.938 kB / 0.9149 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.2394, allocations: 104 kB / 0.915 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2399, allocations: 53.11 kB / 0.915 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.2455, allocations: 4.718 MB / 0.9196 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2459, allocations: 0.9478 MB / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.2461, allocations: 81.33 kB / 0.9206 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.2463, allocations: 219.4 kB / 0.9208 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of SimCode: time 6.91e-07/0.2463, allocations: 0 / 0.9208 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2687, allocations: 11.59 MB / 0.9322 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2689, allocations: 220.2 kB / 0.9324 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.428, allocations: 0 / 0.9324 GB, free: 30.55 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)