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.517/1.517, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001158/0.001159, allocations: 167.8 kB / 326.5 MB, free: 2.262 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.872/1.872, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008066/0.0008067, allocations: 89.98 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004111, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002211/0.2326, allocations: 1.883 MB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2337, allocations: 0.8452 MB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.2338, allocations: 0 / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.2342, allocations: 187.2 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.2343, allocations: 67.83 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.2346, allocations: 79.77 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.2348, allocations: 171.5 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.235, allocations: 73.58 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.235, allocations: 71.64 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.2351, allocations: 83.53 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.2352, allocations: 4 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2354, allocations: 119.8 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2355, allocations: 171.4 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.2356, allocations: 121.3 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.236, allocations: 0.4989 MB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.236, allocations: 0 / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.236, allocations: 0 / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.236, allocations: 4 kB / 0.9044 GB, free: 59.47 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.0008884/0.2369, allocations: 0.8595 MB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.2369, allocations: 8.031 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.237, allocations: 42.55 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/0.2375, allocations: 126.9 kB / 0.9054 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.2385, allocations: 0.7991 MB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2385, allocations: 8 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.2386, allocations: 12 kB / 0.9062 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2389, allocations: 141.6 kB / 0.9063 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2389, allocations: 3.938 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2389, allocations: 4 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2389, allocations: 4 kB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2393, allocations: 111.9 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.24, allocations: 0.6251 MB / 0.9071 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.2405, allocations: 142.5 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.2412, allocations: 0.593 MB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.2412, allocations: 34.56 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.2412, allocations: 0 / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002901/0.2415, allocations: 141 kB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2415, allocations: 51.41 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/0.2422, allocations: 0.7789 MB / 0.9088 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2422, allocations: 29.7 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.2424, allocations: 375.4 kB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.2424, allocations: 11.75 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.2425, allocations: 4 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.2425, allocations: 310 kB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.2426, allocations: 19.92 kB / 0.9095 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.2426, allocations: 62 kB / 0.9095 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/0.2427, allocations: 23.98 kB / 0.9096 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2427, allocations: 3.938 kB / 0.9096 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001991/0.2429, allocations: 176.7 kB / 0.9097 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.243, allocations: 7.938 kB / 0.9097 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.243, allocations: 4 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.243, allocations: 4 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.2431, allocations: 19.98 kB / 0.9098 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2431, allocations: 7.922 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.2432, allocations: 7.906 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2432, allocations: 4 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002132/0.2434, allocations: 257.8 kB / 0.91 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.2435, allocations: 75.02 kB / 0.9101 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.2437, allocations: 136.2 kB / 0.9102 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2437, allocations: 0 / 0.9102 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2438, allocations: 0 / 0.9102 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2438, allocations: 0 / 0.9102 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.2441, allocations: 389.4 kB / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2441, allocations: 384 / 0.9106 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.2441, allocations: 12 kB / 0.9106 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2441, allocations: 3.953 kB / 0.9106 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2442, allocations: 4 kB / 0.9106 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2442, allocations: 3.984 kB / 0.9106 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2442, allocations: 4 kB / 0.9106 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2444, allocations: 218.6 kB / 0.9108 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2445, allocations: 140.2 kB / 0.911 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2445, allocations: 3.953 kB / 0.911 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.2446, allocations: 11.94 kB / 0.911 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.2447, allocations: 4 kB / 0.911 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2447, allocations: 7.922 kB / 0.911 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004575/0.2451, allocations: 0.5497 MB / 0.9115 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2451, allocations: 0 / 0.9115 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003121/0.2455, allocations: 39.91 kB / 0.9116 GB, free: 51.71 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 (5): * Single equations (assignments): 5 * 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.0004099/0.2459, allocations: 0.7663 MB / 0.9123 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.246, allocations: 55.84 kB / 0.9124 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2461, allocations: 4 kB / 0.9124 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.63e-05/0.2461, allocations: 11.98 kB / 0.9124 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.2464, allocations: 55.64 kB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.251, allocations: 4.472 MB / 0.9168 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2514, allocations: 0.9634 MB / 0.9178 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.2516, allocations: 65.33 kB / 0.9178 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.2518, allocations: 215.4 kB / 0.918 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/0.2518, allocations: 0 / 0.918 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2732, allocations: 9.348 MB / 0.9272 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.2735, allocations: 214.3 kB / 0.9274 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.445, allocations: 3.938 kB / 0.9274 GB, free: 35.54 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)