Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 198 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.61 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1846, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003428/0.1881, allocations: 2.317 MB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1892, allocations: 0.9308 MB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1893, allocations: 4 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.1898, allocations: 183.5 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.1899, allocations: 59.62 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1902, allocations: 99.83 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.1905, allocations: 227.1 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1907, allocations: 93.66 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.1908, allocations: 79.59 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1909, allocations: 107.4 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1909, allocations: 16 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.1912, allocations: 151.8 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1914, allocations: 227.2 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1915, allocations: 262.1 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.1921, allocations: 0.7043 MB / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1921, allocations: 0 / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1921, allocations: 0 / 0.7883 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1921, allocations: 0 / 0.7883 GB, free: 8.363 MB / 0.6075 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.001076/0.1932, allocations: 0.9746 MB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1933, allocations: 8.031 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.1933, allocations: 50.73 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.1938, allocations: 119.8 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.1945, allocations: 0.5896 MB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1945, allocations: 4.375 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1946, allocations: 20.36 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.195, allocations: 194.1 kB / 0.7902 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.195, allocations: 3.938 kB / 0.7902 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.195, allocations: 8 kB / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.195, allocations: 7.938 kB / 0.7902 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.1955, allocations: 235.8 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1965, allocations: 0.91 MB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.1972, allocations: 314.6 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.1974, allocations: 116.7 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.198, allocations: 237 kB / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.198, allocations: 30.56 kB / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.198, allocations: 0 / 0.792 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0007468/0.1988, allocations: 400.6 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1988, allocations: 55.41 kB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.1999, allocations: 0.9896 MB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1999, allocations: 33.7 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.2002, allocations: 348 kB / 0.7937 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.2002, allocations: 35.53 kB / 0.7938 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.2003, allocations: 21.72 kB / 0.7938 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.2004, allocations: 318 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2006, allocations: 91.95 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2008, allocations: 122.5 kB / 0.7943 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.2012, allocations: 222.8 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2012, allocations: 0 / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005355/0.2018, allocations: 324.4 kB / 0.7948 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2018, allocations: 4 kB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2018, allocations: 0 / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2018, allocations: 8.062 kB / 0.7948 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.202, allocations: 19.98 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.202, allocations: 7.938 kB / 0.7949 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2021, allocations: 11.89 kB / 0.7949 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2022, allocations: 8 kB / 0.7949 GB, free: 1.312 MB / 0.6075 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.0002241/0.2024, allocations: 250.3 kB / 0.7951 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.2025, allocations: 82.98 kB / 0.7952 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.2031, allocations: 328.4 kB / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2031, allocations: 0 / 0.7955 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2031, allocations: 4 kB / 0.7955 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2031, allocations: 3.984 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.2036, allocations: 0.5207 MB / 0.796 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2036, allocations: 0 / 0.796 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2037, allocations: 19.98 kB / 0.796 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2038, allocations: 8 kB / 0.7961 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2038, allocations: 3.984 kB / 0.7961 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2038, allocations: 0 / 0.7961 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2038, allocations: 4 kB / 0.7961 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.2044, allocations: 410.4 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2046, allocations: 180.1 kB / 0.7966 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.2047, allocations: 4 kB / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2048, allocations: 4.281 kB / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.2049, allocations: 7.984 kB / 0.7966 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2049, allocations: 0 / 0.7966 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007831/0.2057, allocations: 0.7292 MB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2057, allocations: 0 / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003182/0.206, allocations: 75.84 kB / 0.7974 GB, free: 14.61 MB / 0.6231 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.0009412/0.207, allocations: 0.9497 MB / 0.7984 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2075, allocations: 223.8 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2075, allocations: 0 / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.2077, allocations: 116 kB / 0.7987 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.2081, allocations: 51.47 kB / 0.7987 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/0.2169, allocations: 6.755 MB / 0.8053 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/0.2175, allocations: 0.9479 MB / 0.8063 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.2178, allocations: 77.31 kB / 0.8063 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.2181, allocations: 223.2 kB / 0.8065 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2181, allocations: 0 / 0.8065 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.24, allocations: 11.49 MB / 0.8178 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.2402, allocations: 215.9 kB / 0.818 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.999, allocations: 2.25 kB / 0.818 GB, free: 9.566 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)