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.324/1.324, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008615/0.0008617, allocations: 181.2 kB / 325.9 MB, free: 2.656 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.5/1.5, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007228/0.0007229, allocations: 88.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002776, allocations: 10.44 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1819, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002799/0.1848, allocations: 2.016 MB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1865, allocations: 0.9464 MB / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1867, allocations: 0 / 0.8991 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.1874, allocations: 183.2 kB / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1876, allocations: 55.62 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.188, allocations: 87.83 kB / 0.8994 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1883, allocations: 215.1 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1885, allocations: 85.67 kB / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1887, allocations: 67.53 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1888, allocations: 87.45 kB / 0.8998 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1889, allocations: 8 kB / 0.8998 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1892, allocations: 147.7 kB / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1894, allocations: 211.3 kB / 0.9002 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1897, allocations: 246.1 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.1903, allocations: 0.6768 MB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1903, allocations: 3.938 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1904, allocations: 0 / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.1904, allocations: 0 / 0.9011 GB, free: 63.02 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.001294/0.1917, allocations: 0.8702 MB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1917, allocations: 8.031 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.1918, allocations: 46.73 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/0.1926, allocations: 115.9 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.1935, allocations: 0.5973 MB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1935, allocations: 8.375 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1936, allocations: 8.375 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.194, allocations: 198.1 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1941, allocations: 11.88 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.1941, allocations: 4 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1941, allocations: 8 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.1947, allocations: 231.9 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1961, allocations: 0.9138 MB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/0.197, allocations: 314.4 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1972, allocations: 116.9 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.1985, allocations: 396.7 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.1985, allocations: 30.56 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1986, allocations: 0 / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000997/0.1996, allocations: 404.5 kB / 0.9052 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.1996, allocations: 55.41 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2008, allocations: 0.9973 MB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2008, allocations: 25.7 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.201, allocations: 348 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.201, allocations: 31.55 kB / 0.9066 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.201, allocations: 21.7 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.2011, allocations: 309.9 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2012, allocations: 99.89 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2014, allocations: 122.5 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2017, allocations: 214.4 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2017, allocations: 4.375 kB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004035/0.2021, allocations: 320.5 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2021, allocations: 8 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2021, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2022, allocations: 0 / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2023, allocations: 35.97 kB / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2023, allocations: 0 / 0.9077 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2025, allocations: 12 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2025, allocations: 7.984 kB / 0.9077 GB, free: 55.91 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.0001786/0.2027, allocations: 249.7 kB / 0.908 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.2027, allocations: 75 kB / 0.9081 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.2032, allocations: 332.4 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2032, allocations: 0 / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2032, allocations: 0 / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2032, allocations: 0 / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.2036, allocations: 0.5323 MB / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2036, allocations: 0 / 0.9089 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2038, allocations: 23.97 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2038, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2038, allocations: 8 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2038, allocations: 4 kB / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2038, allocations: 0 / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.2042, allocations: 406.3 kB / 0.9093 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2044, allocations: 184.1 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.2044, allocations: 0 / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.2046, allocations: 4 kB / 0.9095 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2046, allocations: 16.2 kB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2046, allocations: 4 kB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006346/0.2053, allocations: 0.7215 MB / 0.9102 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2053, allocations: 3.938 kB / 0.9102 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000289/0.2056, allocations: 67.84 kB / 0.9103 GB, free: 53.21 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.0006212/0.2062, allocations: 0.9536 MB / 0.9112 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.2066, allocations: 219.8 kB / 0.9114 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2066, allocations: 4 kB / 0.9114 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2067, allocations: 108 kB / 0.9115 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2071, allocations: 51.31 kB / 0.9116 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.2139, allocations: 6.765 MB / 0.9182 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2143, allocations: 0.9517 MB / 0.9191 GB, free: 44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000187/0.2145, allocations: 81.31 kB / 0.9192 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.2147, allocations: 219.3 kB / 0.9194 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2147, allocations: 3.938 kB / 0.9194 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.23/0.4447, allocations: 11.28 MB / 0.9304 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.4449, allocations: 231.6 kB / 0.9306 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.714, allocations: 0 / 0.9306 GB, free: 32.35 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)