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.415/1.415, allocations: 252 MB / 267.3 MB, free: 10.86 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.001091/0.001091, allocations: 179.2 kB / 327 MB, free: 2.109 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.965/1.965, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009901/0.0009902, allocations: 95.33 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.000598, allocations: 9.75 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.28, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002681/0.2828, allocations: 2.102 MB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2852, allocations: 1.684 MB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2854, allocations: 0 / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.2864, allocations: 274.7 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.2867, allocations: 67.42 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.2871, allocations: 99.83 kB / 0.905 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.2875, allocations: 310.8 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2877, allocations: 56.7 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.288, allocations: 115.5 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.2883, allocations: 183.3 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.2884, allocations: 16 kB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.2886, allocations: 55.97 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.2888, allocations: 111.6 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.289, allocations: 188.8 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.2895, allocations: 478.6 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2895, allocations: 4 kB / 0.9065 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2895, allocations: 0 / 0.9065 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2895, allocations: 0 / 0.9065 GB, free: 57.65 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.001229/0.2907, allocations: 0.6579 MB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.2908, allocations: 12.03 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.2909, allocations: 50.73 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.2918, allocations: 172.3 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.2923, allocations: 354.2 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2924, allocations: 80.19 kB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.2925, allocations: 20.38 kB / 0.9078 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.2932, allocations: 319.2 kB / 0.9081 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2932, allocations: 4 kB / 0.9081 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2933, allocations: 4 kB / 0.9081 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2933, allocations: 4 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2943, allocations: 456.4 kB / 0.9085 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2959, allocations: 0.8823 MB / 0.9094 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.2965, allocations: 290.4 kB / 0.9097 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.297, allocations: 240.7 kB / 0.9099 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.2971, allocations: 0 / 0.9099 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2971, allocations: 38.56 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.2971, allocations: 0 / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.00169/0.2988, allocations: 0.7081 MB / 0.9106 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2989, allocations: 59.34 kB / 0.9107 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.2993, allocations: 425.5 kB / 0.9111 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.2993, allocations: 29.7 kB / 0.9111 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2994, allocations: 180.1 kB / 0.9113 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.2995, allocations: 55.11 kB / 0.9113 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.2995, allocations: 4 kB / 0.9113 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.2996, allocations: 350.7 kB / 0.9117 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.3001, allocations: 219.9 kB / 0.9119 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.3006, allocations: 257.9 kB / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.3015, allocations: 412.5 kB / 0.9125 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3015, allocations: 0 / 0.9125 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.3027, allocations: 0.4912 MB / 0.913 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3027, allocations: 4 kB / 0.913 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3027, allocations: 0 / 0.913 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3027, allocations: 3.938 kB / 0.913 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3032, allocations: 91.8 kB / 0.9131 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3032, allocations: 0 / 0.9131 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3036, allocations: 51.78 kB / 0.9132 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.3036, allocations: 8 kB / 0.9132 GB, free: 50.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.3038, allocations: 169.8 kB / 0.9133 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.3039, allocations: 35.53 kB / 0.9134 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.304, allocations: 39.59 kB / 0.9134 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.304, allocations: 7.922 kB / 0.9134 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.304, allocations: 7.984 kB / 0.9134 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.304, allocations: 3.984 kB / 0.9134 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.3045, allocations: 470.9 kB / 0.9139 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3045, allocations: 0 / 0.9139 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.3049, allocations: 75.92 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3049, allocations: 0 / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.305, allocations: 7.984 kB / 0.9139 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.305, allocations: 3.938 kB / 0.9139 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.305, allocations: 0 / 0.9139 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3061, allocations: 0.6003 MB / 0.9145 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.3062, allocations: 116.6 kB / 0.9146 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.3062, allocations: 4 kB / 0.9146 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.3066, allocations: 47.89 kB / 0.9147 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3067, allocations: 19.97 kB / 0.9147 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3067, allocations: 7.984 kB / 0.9147 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002916/0.307, allocations: 311.1 kB / 0.915 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.307, allocations: 0 / 0.915 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003093/0.3074, allocations: 71.94 kB / 0.9151 GB, free: 48.49 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 (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.001334/0.3087, allocations: 1.136 MB / 0.9162 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.3098, allocations: 475.6 kB / 0.9167 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3098, allocations: 0 / 0.9167 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.3103, allocations: 251.8 kB / 0.9169 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.3108, allocations: 65.61 kB / 0.917 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.317, allocations: 4.386 MB / 0.9212 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3173, allocations: 0.7831 MB / 0.922 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003225/0.3177, allocations: 66.25 kB / 0.9221 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.3179, allocations: 105.4 kB / 0.9222 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.763e-06/0.3179, allocations: 4 kB / 0.9222 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.3364, allocations: 7.353 MB / 0.9293 GB, free: 34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.3366, allocations: 251.7 kB / 0.9296 GB, free: 33.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.046, allocations: 0 / 0.9296 GB, free: 33.73 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)