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.0007775/0.0007776, allocations: 98.03 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.005724/0.005724, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.395/1.395, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.597/1.597, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004572/0.0004573, allocations: 15.34 kB / 0.6744 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002216/0.1891, allocations: 2.07 MB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1907, allocations: 1.4 MB / 0.7914 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.1908, allocations: 4 kB / 0.7914 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.1913, allocations: 203 kB / 0.7916 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1914, allocations: 63.47 kB / 0.7916 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1916, allocations: 99.83 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1919, allocations: 318.8 kB / 0.792 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.192, allocations: 36.75 kB / 0.7921 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1922, allocations: 127.4 kB / 0.7922 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1924, allocations: 175.4 kB / 0.7924 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.1924, allocations: 20 kB / 0.7924 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1926, allocations: 59.94 kB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.1927, allocations: 103.7 kB / 0.7925 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1928, allocations: 180.8 kB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1932, allocations: 474.6 kB / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1932, allocations: 0 / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1932, allocations: 0 / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1932, allocations: 4 kB / 0.7932 GB, free: 6.148 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.0009594/0.1942, allocations: 0.6694 MB / 0.7938 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1942, allocations: 15.97 kB / 0.7938 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.1943, allocations: 50.73 kB / 0.7939 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.1951, allocations: 168.3 kB / 0.7941 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.1955, allocations: 362.2 kB / 0.7944 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.115e-05/0.1956, allocations: 88.17 kB / 0.7945 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.1957, allocations: 16.31 kB / 0.7945 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.1964, allocations: 319.2 kB / 0.7948 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.1964, allocations: 0 / 0.7948 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.1964, allocations: 4 kB / 0.7948 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1964, allocations: 7.984 kB / 0.7948 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1975, allocations: 464.4 kB / 0.7953 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.1989, allocations: 0.8707 MB / 0.7961 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.1996, allocations: 290.4 kB / 0.7964 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.2002, allocations: 245 kB / 0.7966 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2002, allocations: 4 kB / 0.7966 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2002, allocations: 38.47 kB / 0.7967 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.705e-06/0.2002, allocations: 0 / 0.7967 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.00177/0.202, allocations: 0.7144 MB / 0.7974 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.202, allocations: 59.34 kB / 0.7974 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.2024, allocations: 421.7 kB / 0.7978 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2025, allocations: 25.7 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2026, allocations: 184 kB / 0.798 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.2027, allocations: 59.09 kB / 0.7981 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.2028, allocations: 33.7 kB / 0.7981 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2029, allocations: 342.8 kB / 0.7984 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005251/0.2034, allocations: 215.9 kB / 0.7986 GB, free: 324 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.2039, allocations: 251.3 kB / 0.7989 GB, free: 60 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.205, allocations: 415.7 kB / 0.7993 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.205, allocations: 0 / 0.7993 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001165/0.2061, allocations: 0.5008 MB / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2062, allocations: 4 kB / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2062, allocations: 0 / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2062, allocations: 0 / 0.7998 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.2066, allocations: 83.8 kB / 0.7998 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2067, allocations: 0 / 0.7998 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.207, allocations: 59.78 kB / 0.7999 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.207, allocations: 4 kB / 0.7999 GB, free: 15 MB / 0.6231 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.000168/0.2072, allocations: 161.8 kB / 0.8001 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.2073, allocations: 35.62 kB / 0.8001 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.2073, allocations: 39.59 kB / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2074, allocations: 7.938 kB / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2074, allocations: 0 / 0.8001 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2074, allocations: 7.922 kB / 0.8001 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.2079, allocations: 478.8 kB / 0.8006 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2079, allocations: 0 / 0.8006 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.2083, allocations: 71.86 kB / 0.8007 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2083, allocations: 0 / 0.8007 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.2083, allocations: 8 kB / 0.8007 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2083, allocations: 7.938 kB / 0.8007 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2083, allocations: 7.984 kB / 0.8007 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2095, allocations: 0.5886 MB / 0.8013 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.2096, allocations: 120.6 kB / 0.8014 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.2097, allocations: 3.984 kB / 0.8014 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.21, allocations: 51.89 kB / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.2101, allocations: 23.91 kB / 0.8015 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.2101, allocations: 7.984 kB / 0.8015 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002907/0.2104, allocations: 307.1 kB / 0.8018 GB, free: 13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2104, allocations: 4 kB / 0.8018 GB, free: 13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003155/0.2108, allocations: 60 kB / 0.8018 GB, free: 12.94 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.001437/0.2122, allocations: 1.14 MB / 0.8029 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.2134, allocations: 479.6 kB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2134, allocations: 0 / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.214, allocations: 247.8 kB / 0.8036 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.2144, allocations: 45.53 kB / 0.8037 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.2208, allocations: 4.394 MB / 0.808 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2212, allocations: 0.7909 MB / 0.8087 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002829/0.2214, allocations: 58.27 kB / 0.8088 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.2217, allocations: 107.4 kB / 0.8089 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/0.2217, allocations: 4 kB / 0.8089 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5268/0.7485, allocations: 7.339 MB / 0.8161 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.7488, allocations: 236.9 kB / 0.8163 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.492, allocations: 0 / 0.8163 GB, free: 14.19 MB / 0.6387 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)