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.473/1.473, allocations: 252 MB / 267.3 MB, free: 10.86 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.001028/0.001028, allocations: 177 kB / 327 MB, free: 2.117 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.72/1.72, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007027/0.0007027, allocations: 86.41 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002971, allocations: 9.062 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.001947/0.181, allocations: 1.983 MB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.182, allocations: 0.9232 MB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.1821, allocations: 4 kB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1826, allocations: 191.2 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.1827, allocations: 59.62 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1829, allocations: 87.83 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1831, allocations: 211.1 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.1833, allocations: 89.67 kB / 0.9044 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.1834, allocations: 67.53 kB / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.1834, allocations: 87.45 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1835, allocations: 8 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.1837, allocations: 143.8 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.1838, allocations: 203.4 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.184, allocations: 267.8 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.1844, allocations: 0.6887 MB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1845, allocations: 3.938 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1845, allocations: 0 / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.1845, allocations: 7.938 kB / 0.9058 GB, free: 58.38 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.0008283/0.1853, allocations: 0.878 MB / 0.9067 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1854, allocations: 8.031 kB / 0.9067 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.1854, allocations: 42.73 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.1859, allocations: 119.9 kB / 0.9068 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.1864, allocations: 0.5894 MB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1865, allocations: 8.375 kB / 0.9074 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.1865, allocations: 12.38 kB / 0.9074 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1868, allocations: 194.1 kB / 0.9076 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1868, allocations: 3.938 kB / 0.9076 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1868, allocations: 8 kB / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1869, allocations: 0 / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.1872, allocations: 231.9 kB / 0.9078 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.1881, allocations: 0.9216 MB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.1886, allocations: 310.6 kB / 0.909 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1888, allocations: 112.8 kB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008094/0.1896, allocations: 400.7 kB / 0.9095 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.1897, allocations: 34.56 kB / 0.9095 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.1897, allocations: 0 / 0.9095 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.00071/0.1904, allocations: 400.5 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1904, allocations: 67.33 kB / 0.91 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/0.1914, allocations: 0.9935 MB / 0.911 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1915, allocations: 25.7 kB / 0.911 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1917, allocations: 340 kB / 0.9113 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1917, allocations: 35.53 kB / 0.9113 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.1917, allocations: 0 / 0.9113 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.1918, allocations: 314 kB / 0.9116 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.192, allocations: 95.95 kB / 0.9117 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1922, allocations: 122.5 kB / 0.9119 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.1926, allocations: 226.7 kB / 0.9121 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1926, allocations: 0 / 0.9121 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004441/0.1931, allocations: 320.5 kB / 0.9124 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1931, allocations: 4 kB / 0.9124 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1931, allocations: 0 / 0.9124 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1931, allocations: 4 kB / 0.9124 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1933, allocations: 31.91 kB / 0.9124 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1933, allocations: 4 kB / 0.9124 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1935, allocations: 11.94 kB / 0.9124 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1935, allocations: 12.05 kB / 0.9124 GB, free: 51.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1937, allocations: 241.8 kB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.1938, allocations: 75 kB / 0.9127 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.1943, allocations: 328.4 kB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1943, allocations: 0 / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1943, allocations: 0 / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1943, allocations: 4 kB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.1947, allocations: 0.5323 MB / 0.9136 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1947, allocations: 3.938 kB / 0.9136 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1949, allocations: 23.92 kB / 0.9136 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1949, allocations: 0 / 0.9136 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1949, allocations: 4 kB / 0.9136 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1949, allocations: 0 / 0.9136 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1949, allocations: 0 / 0.9136 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.1954, allocations: 414.5 kB / 0.914 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1955, allocations: 180.1 kB / 0.9142 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.1956, allocations: 8 kB / 0.9142 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1957, allocations: 7.984 kB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1958, allocations: 4 kB / 0.9142 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1958, allocations: 7.984 kB / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006275/0.1964, allocations: 0.7176 MB / 0.9149 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1965, allocations: 0 / 0.9149 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003162/0.1968, allocations: 63.91 kB / 0.915 GB, free: 48.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006624/0.1974, allocations: 0.963 MB / 0.9159 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.1978, allocations: 212 kB / 0.9161 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1979, allocations: 4 kB / 0.9161 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.198, allocations: 111.9 kB / 0.9162 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1984, allocations: 47.31 kB / 0.9163 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.2054, allocations: 6.809 MB / 0.9229 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2057, allocations: 0.9479 MB / 0.9238 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.206, allocations: 85.3 kB / 0.9239 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.2062, allocations: 215.4 kB / 0.9241 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.2062, allocations: 0 / 0.9241 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.2253, allocations: 11.29 MB / 0.9352 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.2255, allocations: 236.2 kB / 0.9354 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.478, allocations: 0 / 0.9354 GB, free: 27.69 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)