Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 267 MB, free: 10.97 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.001519/0.001519, allocations: 186.4 kB / 326.6 MB, free: 2.219 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.957/1.957, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.000925/0.000925, allocations: 87.64 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003798, allocations: 17.66 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002727/0.2631, allocations: 2.036 MB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2654, allocations: 1.591 MB / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.2657, allocations: 0 / 0.9039 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.2665, allocations: 246.8 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.2668, allocations: 67.42 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2672, allocations: 95.81 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.2676, allocations: 278.9 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2678, allocations: 44.72 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.2681, allocations: 123.5 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.2684, allocations: 171.4 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.2685, allocations: 20 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2687, allocations: 55.95 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2689, allocations: 111.7 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.269, allocations: 81.52 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.2694, allocations: 383.3 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2694, allocations: 7.938 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2694, allocations: 0 / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.2695, allocations: 0 / 0.9055 GB, free: 58.89 MB / 0.6042 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.001306/0.2708, allocations: 0.6577 MB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2708, allocations: 8.031 kB / 0.9061 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.804e-05/0.2709, allocations: 50.56 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009236/0.2719, allocations: 183.3 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.2724, allocations: 333.3 kB / 0.9067 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2725, allocations: 83.61 kB / 0.9067 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.2726, allocations: 12 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007275/0.2733, allocations: 319.2 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2733, allocations: 0 / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.2734, allocations: 8 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2734, allocations: 3.953 kB / 0.9071 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2744, allocations: 460.4 kB / 0.9075 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.2761, allocations: 0.8746 MB / 0.9084 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.2768, allocations: 294.4 kB / 0.9086 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.2773, allocations: 232.7 kB / 0.9089 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.2773, allocations: 7.984 kB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2774, allocations: 34.55 kB / 0.9089 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.617e-06/0.2774, allocations: 3.984 kB / 0.9089 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001685/0.2791, allocations: 0.7184 MB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2791, allocations: 51.41 kB / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.2795, allocations: 421.6 kB / 0.9101 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.2796, allocations: 33.7 kB / 0.9101 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2797, allocations: 176.1 kB / 0.9103 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.2798, allocations: 59.09 kB / 0.9103 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.2798, allocations: 0 / 0.9103 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.321e-05/0.2799, allocations: 350.8 kB / 0.9106 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.2804, allocations: 219.8 kB / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.2809, allocations: 251.2 kB / 0.9111 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.2814, allocations: 207.8 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2814, allocations: 0 / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001072/0.2825, allocations: 0.4952 MB / 0.9118 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2825, allocations: 8 kB / 0.9118 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2826, allocations: 0 / 0.9118 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2826, allocations: 4 kB / 0.9118 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.283, allocations: 71.92 kB / 0.9119 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2831, allocations: 0 / 0.9119 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.2834, allocations: 51.8 kB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.2835, allocations: 11.98 kB / 0.9119 GB, free: 52.04 MB / 0.6042 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.0001855/0.2836, allocations: 165.7 kB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.2837, allocations: 43.45 kB / 0.9121 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.2838, allocations: 43.59 kB / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2838, allocations: 4 kB / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2838, allocations: 0 / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2838, allocations: 0 / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.2843, allocations: 478.8 kB / 0.9126 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2844, allocations: 0 / 0.9126 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.2848, allocations: 83.86 kB / 0.9127 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.2848, allocations: 4 kB / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.2848, allocations: 0 / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2848, allocations: 0 / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2848, allocations: 0 / 0.9127 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.286, allocations: 0.5983 MB / 0.9133 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.2861, allocations: 112.6 kB / 0.9134 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.2862, allocations: 7.938 kB / 0.9134 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2865, allocations: 51.94 kB / 0.9134 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.2866, allocations: 23.95 kB / 0.9135 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.2867, allocations: 4 kB / 0.9135 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003037/0.287, allocations: 307.1 kB / 0.9138 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.287, allocations: 0 / 0.9138 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003133/0.2873, allocations: 67.94 kB / 0.9138 GB, free: 49.97 MB / 0.6042 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.001398/0.2887, allocations: 1.141 MB / 0.9149 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.2898, allocations: 476.7 kB / 0.9154 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2898, allocations: 0 / 0.9154 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.2904, allocations: 251.8 kB / 0.9156 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.2908, allocations: 49.47 kB / 0.9157 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.2954, allocations: 2.636 MB / 0.9183 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2957, allocations: 0.7986 MB / 0.919 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.296, allocations: 58.3 kB / 0.9191 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.2963, allocations: 107.4 kB / 0.9192 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.2963, allocations: 0 / 0.9192 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.3158, allocations: 7.204 MB / 0.9262 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.316, allocations: 223.3 kB / 0.9265 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.57, allocations: 0 / 0.9265 GB, free: 37.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)