Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001061/0.001061, allocations: 197.4 kB / 16.14 MB, free: 6.66 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.311/1.311, allocations: 205.1 MB / 222 MB, free: 4.723 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.634/1.634, allocations: 292.3 MB / 0.5484 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.001312/0.001312, allocations: 68.2 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1777, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003175/0.1809, allocations: 2.424 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1825, allocations: 1.423 MB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.1826, allocations: 4 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.1831, allocations: 199 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1833, allocations: 59.47 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1835, allocations: 107.8 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1838, allocations: 318.8 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1839, allocations: 44.72 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.184, allocations: 123.4 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1843, allocations: 183.3 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.1843, allocations: 20 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1845, allocations: 55.97 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1846, allocations: 111.7 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1847, allocations: 171 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1851, allocations: 478.8 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1851, allocations: 4 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1851, allocations: 0 / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1851, allocations: 0 / 0.7883 GB, free: 8.203 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001147/0.1863, allocations: 0.7081 MB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1863, allocations: 12.03 kB / 0.789 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.1864, allocations: 50.73 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.1872, allocations: 144.3 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.1876, allocations: 354.2 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.1877, allocations: 84.19 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1878, allocations: 12.38 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.1885, allocations: 308.3 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1885, allocations: 0 / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1886, allocations: 4 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1886, allocations: 4 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1896, allocations: 416.4 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1912, allocations: 0.8667 MB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.1918, allocations: 274.4 kB / 0.7915 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.1924, allocations: 216.7 kB / 0.7917 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.1924, allocations: 4 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1924, allocations: 38.56 kB / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.1924, allocations: 0 / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001687/0.1941, allocations: 0.6559 MB / 0.7924 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1942, allocations: 55.34 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1946, allocations: 421.6 kB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1947, allocations: 33.7 kB / 0.7928 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1948, allocations: 180 kB / 0.793 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.1949, allocations: 55.2 kB / 0.7931 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.195, allocations: 37.7 kB / 0.7931 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1952, allocations: 350.8 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.1957, allocations: 195.8 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.1962, allocations: 235.2 kB / 0.7939 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.1972, allocations: 363.1 kB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1972, allocations: 4 kB / 0.7942 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00113/0.1984, allocations: 460.9 kB / 0.7946 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1984, allocations: 8 kB / 0.7946 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1984, allocations: 3.938 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1984, allocations: 4 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.1989, allocations: 67.86 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1989, allocations: 0 / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.1992, allocations: 39.8 kB / 0.7948 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.1993, allocations: 8 kB / 0.7948 GB, free: 1.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001849/0.1995, allocations: 170.4 kB / 0.7949 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.1996, allocations: 35.53 kB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.1996, allocations: 43.58 kB / 0.795 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1996, allocations: 3.938 kB / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1997, allocations: 0 / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1997, allocations: 0 / 0.795 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.2002, allocations: 482.8 kB / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2002, allocations: 0 / 0.7955 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.2007, allocations: 63.86 kB / 0.7955 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2007, allocations: 8 kB / 0.7955 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.2007, allocations: 3.984 kB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2007, allocations: 3.938 kB / 0.7955 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2007, allocations: 0 / 0.7955 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2019, allocations: 0.556 MB / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.202, allocations: 116.7 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.2021, allocations: 4 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.2024, allocations: 35.89 kB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.2025, allocations: 23.95 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2026, allocations: 4 kB / 0.7963 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000304/0.2029, allocations: 315.1 kB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2029, allocations: 0 / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003188/0.2032, allocations: 67.91 kB / 0.7966 GB, free: 15.37 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001455/0.2047, allocations: 1.087 MB / 0.7977 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2058, allocations: 439.5 kB / 0.7981 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2058, allocations: 0 / 0.7981 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.2064, allocations: 234.7 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2068, allocations: 53.42 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006365/0.2132, allocations: 4.235 MB / 0.8025 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2135, allocations: 0.7987 MB / 0.8033 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.2138, allocations: 58.3 kB / 0.8034 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.2141, allocations: 107.4 kB / 0.8035 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.2141, allocations: 0 / 0.8035 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5513/0.7654, allocations: 7.481 MB / 0.8108 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.7657, allocations: 221.9 kB / 0.811 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.748, allocations: 0 / 0.811 GB, free: 0.7148 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)