Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.495/1.495, allocations: 288.4 MB / 303.6 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 0.631 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006947/0.0006948, allocations: 101.2 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 16.8 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.001911/0.1879, allocations: 2.004 MB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1893, allocations: 1.591 MB / 0.9837 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.1894, allocations: 7.938 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.1899, allocations: 246.8 kB / 0.9839 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.19, allocations: 59.47 kB / 0.984 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1903, allocations: 91.88 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1905, allocations: 298.8 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1906, allocations: 48.7 kB / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1907, allocations: 115.5 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1909, allocations: 175.4 kB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.191, allocations: 20 kB / 0.9847 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1911, allocations: 55.95 kB / 0.9848 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.1912, allocations: 103.7 kB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1913, allocations: 180.9 kB / 0.985 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1916, allocations: 391.3 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1916, allocations: 0 / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1916, allocations: 0 / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1916, allocations: 0 / 0.9854 GB, free: 21.84 MB / 0.6198 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.000959/0.1926, allocations: 0.6578 MB / 0.9861 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1926, allocations: 8.031 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.1927, allocations: 50.73 kB / 0.9861 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.1934, allocations: 180.3 kB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1938, allocations: 350.2 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.1939, allocations: 84.19 kB / 0.9867 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1939, allocations: 12.38 kB / 0.9867 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.1946, allocations: 325.1 kB / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1946, allocations: 3.938 kB / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1946, allocations: 0 / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1946, allocations: 4 kB / 0.987 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.1956, allocations: 468.3 kB / 0.9875 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.1969, allocations: 0.8822 MB / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1975, allocations: 290.4 kB / 0.9886 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.198, allocations: 240.7 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.198, allocations: 0 / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.198, allocations: 34.56 kB / 0.9889 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.198, allocations: 0 / 0.9889 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001537/0.1996, allocations: 0.7097 MB / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1996, allocations: 59.34 kB / 0.9896 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.2, allocations: 417.6 kB / 0.99 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.2, allocations: 37.64 kB / 0.9901 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.2001, allocations: 187.9 kB / 0.9902 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.2002, allocations: 59.19 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.2002, allocations: 0 / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.2003, allocations: 350.7 kB / 0.9906 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.2008, allocations: 223.8 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.2012, allocations: 256.8 kB / 0.9911 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.2021, allocations: 409.5 kB / 0.9915 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2021, allocations: 0 / 0.9915 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001005/0.2031, allocations: 0.4899 MB / 0.992 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2032, allocations: 15.92 kB / 0.992 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2032, allocations: 4 kB / 0.992 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2032, allocations: 0 / 0.992 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.2036, allocations: 71.88 kB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2037, allocations: 0 / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.204, allocations: 59.88 kB / 0.9921 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.204, allocations: 8 kB / 0.9921 GB, free: 14.73 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2042, allocations: 161.8 kB / 0.9923 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2042, allocations: 39.53 kB / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.2043, allocations: 39.59 kB / 0.9923 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2043, allocations: 11.92 kB / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2043, allocations: 0 / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2043, allocations: 0 / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.2047, allocations: 466.9 kB / 0.9928 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2047, allocations: 0 / 0.9928 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.2051, allocations: 79.86 kB / 0.9929 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2051, allocations: 4 kB / 0.9929 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2052, allocations: 3.984 kB / 0.9929 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2052, allocations: 7.938 kB / 0.9929 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2052, allocations: 0 / 0.9929 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2062, allocations: 0.5974 MB / 0.9935 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.2063, allocations: 112.7 kB / 0.9936 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.2063, allocations: 8 kB / 0.9936 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.2066, allocations: 43.89 kB / 0.9936 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.2067, allocations: 31.95 kB / 0.9937 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2068, allocations: 7.984 kB / 0.9937 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002245/0.207, allocations: 299.1 kB / 0.994 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.207, allocations: 0 / 0.994 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002878/0.2073, allocations: 71.91 kB / 0.994 GB, free: 12.68 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001204/0.2085, allocations: 1.136 MB / 0.9951 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.2095, allocations: 479.5 kB / 0.9956 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2095, allocations: 0 / 0.9956 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.21, allocations: 254.4 kB / 0.9958 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2104, allocations: 51.66 kB / 0.9959 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.2143, allocations: 2.638 MB / 0.9985 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.2145, allocations: 0.7908 MB / 0.9992 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.2147, allocations: 66.3 kB / 0.9993 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.2149, allocations: 103.4 kB / 0.9994 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2149, allocations: 0 / 0.9994 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/2.239, allocations: 7.226 MB / 1.006 GB, free: 88 kB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/2.239, allocations: 218.2 kB / 1.007 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/4.535, allocations: 3.938 kB / 1.007 GB, free: 15.84 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)