Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001132, allocations: 181.6 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 0.5775 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 92.55 kB / 0.6821 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 10.03 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus): time 0.04069/0.2392, allocations: 52.46 MB / 0.9514 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.2547, allocations: 11.36 MB / 0.9625 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.2579, allocations: 51.62 kB / 0.9625 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.2612, allocations: 0.972 MB / 0.9635 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.2687, allocations: 2.063 MB / 0.9655 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.2734, allocations: 1.538 MB / 0.967 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.2776, allocations: 2.148 MB / 0.9691 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.2791, allocations: 0.9593 MB / 0.97 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.2811, allocations: 0.9847 MB / 0.971 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.2823, allocations: 0.7369 MB / 0.9717 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2825, allocations: 60 kB / 0.9718 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.2848, allocations: 1.069 MB / 0.9728 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.2852, allocations: 318.8 kB / 0.9731 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.2856, allocations: 336.8 kB / 0.9734 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.2879, allocations: 1.991 MB / 0.9754 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2879, allocations: 0 / 0.9754 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2879, allocations: 0 / 0.9754 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.2879, allocations: 0 / 0.9754 GB, free: 2.977 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00332/0.2912, allocations: 1.828 MB / 0.9772 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2913, allocations: 11.97 kB / 0.9772 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.2915, allocations: 143.3 kB / 0.9773 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.2938, allocations: 0.556 MB / 0.9778 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.2961, allocations: 1.33 MB / 0.9791 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007169/0.2968, allocations: 273.2 kB / 0.9794 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.297, allocations: 88 kB / 0.9795 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.2993, allocations: 1.197 MB / 0.9807 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.2994, allocations: 4 kB / 0.9807 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/0.2995, allocations: 36 kB / 0.9807 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2995, allocations: 20 kB / 0.9807 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.3025, allocations: 1.237 MB / 0.9819 GB, free: 12.09 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00667/0.3092, allocations: 4.336 MB / 0.9862 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007812/0.317, allocations: 1.864 MB / 0.988 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/0.318, allocations: 1.152 MB / 0.9891 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.3192, allocations: 0.4911 MB / 0.9896 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 3.676e-06/0.3192, allocations: 0 / 0.9896 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.003222/0.3225, allocations: 1.27 MB / 0.9908 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.3225, allocations: 81.67 kB / 0.9909 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.3249, allocations: 1.541 MB / 0.9924 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/0.325, allocations: 37.7 kB / 0.9924 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000587/0.3256, allocations: 0.6512 MB / 0.9931 GB, free: 68 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.3258, allocations: 205 kB / 0.9933 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3259, allocations: 20 kB / 0.9933 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.326, allocations: 333.9 kB / 0.9936 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.3273, allocations: 457.7 kB / 0.9941 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3286, allocations: 0.6032 MB / 0.9946 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3299, allocations: 483 kB / 0.9951 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3299, allocations: 7.938 kB / 0.9951 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003146/0.3331, allocations: 1.214 MB / 0.9963 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.3334, allocations: 0.9068 MB / 0.9972 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3335, allocations: 4 kB / 0.9972 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3335, allocations: 7.953 kB / 0.9972 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.3346, allocations: 227.7 kB / 0.9974 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.3346, allocations: 7.938 kB / 0.9974 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.3362, allocations: 253.5 kB / 0.9977 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3363, allocations: 39.97 kB / 0.9977 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3364, allocations: 4 kB / 0.9977 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002792/0.3392, allocations: 1.038 MB / 0.9987 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3392, allocations: 3.984 kB / 0.9987 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3392, allocations: 8 kB / 0.9987 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.3402, allocations: 227.9 kB / 0.9989 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3402, allocations: 11.98 kB / 0.999 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.3416, allocations: 211 kB / 0.9992 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.3417, allocations: 31.98 kB / 0.9992 GB, free: 9.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.0006801/0.3424, allocations: 430.8 kB / 0.9996 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.3426, allocations: 154.1 kB / 0.9997 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.3453, allocations: 1.178 MB / 1.001 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.3453, allocations: 8 kB / 1.001 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3453, allocations: 3.984 kB / 1.001 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3453, allocations: 0 / 1.001 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004406/0.3497, allocations: 2.489 MB / 1.003 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3498, allocations: 4 kB / 1.003 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.3505, allocations: 148 kB / 1.003 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3505, allocations: 4 kB / 1.003 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.3506, allocations: 27.92 kB / 1.004 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.3506, allocations: 7.984 kB / 1.004 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3506, allocations: 4 kB / 1.004 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3531, allocations: 1.332 MB / 1.005 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/0.3539, allocations: 370.8 kB / 1.005 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.3541, allocations: 23.98 kB / 1.005 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.3552, allocations: 115.9 kB / 1.005 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3553, allocations: 64.19 kB / 1.005 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.3554, allocations: 31.97 kB / 1.005 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001766/0.3571, allocations: 1.083 MB / 1.006 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3572, allocations: 0 / 1.006 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001741/0.3589, allocations: 0.6746 MB / 1.007 GB, free: 1.297 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.00441/0.3633, allocations: 3.193 MB / 1.01 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003898/0.3672, allocations: 1.546 MB / 1.012 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.3673, allocations: 0 / 1.012 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3683, allocations: 470.9 kB / 1.012 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.3713, allocations: 0.6128 MB / 1.013 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/0.3772, allocations: 5.349 MB / 1.018 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.3781, allocations: 1.262 MB / 1.019 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001699/0.3799, allocations: 398.9 kB / 1.02 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.3806, allocations: 0.5618 MB / 1.02 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of SimCode: time 8.92e-07/0.3807, allocations: 0 / 1.02 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4383/0.819, allocations: 38.41 MB / 1.058 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.8192, allocations: 254.2 kB / 1.058 GB, free: 142.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/4.308, allocations: 1.562 kB / 1.058 GB, free: 142.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)