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.734/1.734, allocations: 288.4 MB / 303.3 MB, free: 8.223 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.001063/0.001063, allocations: 180.5 kB / 372 MB, free: 10.25 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.818/1.818, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008454/0.0008453, allocations: 100.5 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004748, allocations: 11.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2561, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002809/0.259, allocations: 2.001 MB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2612, allocations: 1.587 MB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.2616, allocations: 4 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009058/0.2625, allocations: 246.8 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.2628, allocations: 67.47 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2632, allocations: 91.81 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2637, allocations: 282.9 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2638, allocations: 40.72 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2641, allocations: 115.5 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.2644, allocations: 183.4 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.2645, allocations: 16 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2647, allocations: 59.91 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2649, allocations: 99.7 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.265, allocations: 85.52 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.2654, allocations: 379.3 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2654, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2654, allocations: 0 / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.2654, allocations: 0 / 0.9847 GB, free: 22.29 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.00135/0.2668, allocations: 0.6671 MB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2669, allocations: 12.03 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.952e-05/0.267, allocations: 46.55 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009167/0.2679, allocations: 179.3 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.2684, allocations: 341.2 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2685, allocations: 83.62 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.2686, allocations: 8 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.2693, allocations: 321.1 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2693, allocations: 3.938 kB / 0.9863 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2694, allocations: 8 kB / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2694, allocations: 0 / 0.9864 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2704, allocations: 464.3 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.2719, allocations: 0.8862 MB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.2726, allocations: 290.4 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.2731, allocations: 237 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.2731, allocations: 7.906 kB / 0.9882 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2731, allocations: 34.56 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.2731, allocations: 0 / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001729/0.2749, allocations: 0.7096 MB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2749, allocations: 55.41 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.2753, allocations: 421.6 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.2754, allocations: 25.7 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2755, allocations: 191.9 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.2755, allocations: 59.11 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.2756, allocations: 4 kB / 0.9896 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.2757, allocations: 350.8 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.2761, allocations: 215.8 kB / 0.9902 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.2767, allocations: 248.7 kB / 0.9904 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.2771, allocations: 203.9 kB / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2771, allocations: 3.938 kB / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001067/0.2782, allocations: 0.4943 MB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2783, allocations: 11.98 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2783, allocations: 7.984 kB / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2783, allocations: 0 / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.2788, allocations: 63.94 kB / 0.9912 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2788, allocations: 3.938 kB / 0.9912 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.2792, allocations: 55.88 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2792, allocations: 7.938 kB / 0.9912 GB, free: 15.4 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.0001846/0.2794, allocations: 165.8 kB / 0.9914 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.2794, allocations: 39.53 kB / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.2795, allocations: 43.59 kB / 0.9915 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2795, allocations: 11.98 kB / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2795, allocations: 0 / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2795, allocations: 0 / 0.9915 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.28, allocations: 470.9 kB / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.28, allocations: 0 / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.2804, allocations: 83.8 kB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2804, allocations: 0 / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.2804, allocations: 7.984 kB / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2804, allocations: 0 / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2805, allocations: 4 kB / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2815, allocations: 0.5898 MB / 0.9926 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.2816, allocations: 120.7 kB / 0.9927 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.2817, allocations: 4 kB / 0.9927 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.282, allocations: 43.95 kB / 0.9928 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.2821, allocations: 27.95 kB / 0.9928 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.2821, allocations: 7.984 kB / 0.9928 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003061/0.2825, allocations: 303.1 kB / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2825, allocations: 0 / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002986/0.2828, allocations: 63.91 kB / 0.9931 GB, free: 13.35 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.001386/0.2842, allocations: 1.142 MB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.2853, allocations: 485.1 kB / 0.9947 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2853, allocations: 0 / 0.9947 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.2858, allocations: 247.8 kB / 0.995 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.2862, allocations: 57.14 kB / 0.995 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.2906, allocations: 2.636 MB / 0.9976 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.2909, allocations: 0.7947 MB / 0.9984 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.2912, allocations: 58.25 kB / 0.9984 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2914, allocations: 111.4 kB / 0.9985 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of SimCode: time 1.713e-06/0.2914, allocations: 0 / 0.9985 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3095, allocations: 7.201 MB / 1.006 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.3097, allocations: 220.5 kB / 1.006 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.536, allocations: 0 / 1.006 GB, free: 0.5195 MB / 0.6198 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)