Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.000895/0.0008951, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006613/0.006613, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.181/1.181, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.505/1.505, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006652/0.0006653, allocations: 13.44 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1888, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002321/0.1912, allocations: 2.138 MB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.1919, allocations: 0.5172 MB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.192, allocations: 4 kB / 0.7906 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1923, allocations: 124.4 kB / 0.7907 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1925, allocations: 87.39 kB / 0.7908 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.552e-05/0.1926, allocations: 39.97 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1928, allocations: 230.7 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.193, allocations: 103 kB / 0.7912 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.1931, allocations: 63.67 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1932, allocations: 87.52 kB / 0.7913 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1932, allocations: 11.94 kB / 0.7913 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.927e-05/0.1933, allocations: 11.94 kB / 0.7913 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.1934, allocations: 67.75 kB / 0.7914 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1935, allocations: 164.7 kB / 0.7915 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1937, allocations: 318.6 kB / 0.7918 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1937, allocations: 0 / 0.7918 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1938, allocations: 0 / 0.7918 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1938, allocations: 8 kB / 0.7919 GB, free: 7.496 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006716/0.1944, allocations: 0.5912 MB / 0.7924 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1945, allocations: 16.02 kB / 0.7924 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.1945, allocations: 42.75 kB / 0.7925 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.1946, allocations: 44.38 kB / 0.7925 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1949, allocations: 310.2 kB / 0.7928 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.195, allocations: 12.38 kB / 0.7928 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.195, allocations: 12.38 kB / 0.7929 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1953, allocations: 145.6 kB / 0.793 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1953, allocations: 3.938 kB / 0.793 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1953, allocations: 8 kB / 0.793 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1953, allocations: 4 kB / 0.793 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1955, allocations: 91.95 kB / 0.7931 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.1963, allocations: 0.5858 MB / 0.7937 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1965, allocations: 86.59 kB / 0.7937 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.1966, allocations: 48.84 kB / 0.7938 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1966, allocations: 3.938 kB / 0.7938 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1967, allocations: 34.56 kB / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.1967, allocations: 0 / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003193/0.197, allocations: 153.1 kB / 0.794 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.197, allocations: 51.41 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1974, allocations: 390 kB / 0.7944 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1974, allocations: 29.7 kB / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.1975, allocations: 220 kB / 0.7946 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1976, allocations: 35.83 kB / 0.7947 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1976, allocations: 17.72 kB / 0.7947 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1977, allocations: 350.7 kB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.1978, allocations: 27.98 kB / 0.795 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.1979, allocations: 55.36 kB / 0.7951 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1981, allocations: 95.36 kB / 0.7952 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1981, allocations: 0 / 0.7952 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002376/0.1983, allocations: 141.2 kB / 0.7953 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1983, allocations: 8 kB / 0.7953 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1984, allocations: 4 kB / 0.7953 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.1984, allocations: 0 / 0.7953 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1985, allocations: 27.92 kB / 0.7954 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1985, allocations: 4 kB / 0.7954 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-05/0.1986, allocations: 23.92 kB / 0.7954 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1986, allocations: 7.938 kB / 0.7954 GB, free: 3.598 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 13 * 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.0001343/0.1987, allocations: 157.8 kB / 0.7955 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.1988, allocations: 31.62 kB / 0.7956 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.1989, allocations: 39.22 kB / 0.7956 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1989, allocations: 3.984 kB / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1989, allocations: 0 / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1989, allocations: 0 / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.1992, allocations: 317.3 kB / 0.7959 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1992, allocations: 0 / 0.7959 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1993, allocations: 16 kB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1993, allocations: 0 / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1993, allocations: 11.98 kB / 0.7959 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1994, allocations: 0 / 0.7959 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1994, allocations: 0 / 0.7959 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1997, allocations: 262.9 kB / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.1998, allocations: 112.7 kB / 0.7963 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1998, allocations: 4 kB / 0.7963 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.1999, allocations: 4 kB / 0.7963 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.2, allocations: 7.984 kB / 0.7963 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2, allocations: 0 / 0.7963 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002523/0.2002, allocations: 287.1 kB / 0.7966 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2002, allocations: 0 / 0.7966 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002599/0.2005, allocations: 43.91 kB / 0.7966 GB, free: 2.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.000565/0.2011, allocations: 0.7901 MB / 0.7974 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.2013, allocations: 67.91 kB / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2013, allocations: 0 / 0.7975 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.2014, allocations: 44.17 kB / 0.7975 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2017, allocations: 29.94 kB / 0.7975 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.2046, allocations: 2.857 MB / 0.8003 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.205, allocations: 0.7984 MB / 0.8011 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.39e-05/0.2051, allocations: 20.58 kB / 0.8011 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2052, allocations: 99.41 kB / 0.8012 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/0.2052, allocations: 0 / 0.8012 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/1.49, allocations: 4.677 MB / 0.8058 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.491, allocations: 211.5 kB / 0.806 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.925, allocations: 3.625 kB / 0.806 GB, free: 8.629 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)