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.473/1.473, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001234/0.001234, allocations: 177.1 kB / 326.5 MB, free: 2.254 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.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008744/0.0008748, allocations: 94.34 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003564, allocations: 8.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002457/0.2468, allocations: 1.967 MB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.2486, allocations: 1.514 MB / 0.9035 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2488, allocations: 4 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.2493, allocations: 255 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.2495, allocations: 71.78 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.2497, allocations: 103.7 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.25, allocations: 211.5 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2501, allocations: 36.72 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2503, allocations: 127.5 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.2505, allocations: 171.5 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.2506, allocations: 20 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2507, allocations: 47.97 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2508, allocations: 107.7 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.467e-05/0.2509, allocations: 81.52 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2513, allocations: 379.3 kB / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2513, allocations: 0 / 0.9051 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2513, allocations: 4 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.2513, allocations: 4 kB / 0.9051 GB, free: 58.75 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.001088/0.2524, allocations: 0.6577 MB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2524, allocations: 8.031 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.2525, allocations: 50.55 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.2533, allocations: 183.3 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.2537, allocations: 337.2 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.2538, allocations: 83.62 kB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.2538, allocations: 12 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.2545, allocations: 319.3 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2545, allocations: 0 / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.2546, allocations: 4 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2546, allocations: 7.953 kB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009802/0.2555, allocations: 464.3 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2569, allocations: 0.863 MB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.2576, allocations: 306.3 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.2576, allocations: 7.984 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2576, allocations: 30.56 kB / 0.9083 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.2576, allocations: 0 / 0.9083 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001625/0.2593, allocations: 0.7147 MB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2593, allocations: 55.34 kB / 0.9091 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.2597, allocations: 425.6 kB / 0.9095 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.2597, allocations: 33.64 kB / 0.9095 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2598, allocations: 172.1 kB / 0.9097 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.2599, allocations: 67.09 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.2599, allocations: 0 / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.26, allocations: 354.8 kB / 0.9101 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.2605, allocations: 215.9 kB / 0.9103 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.261, allocations: 247.3 kB / 0.9105 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.2615, allocations: 206.2 kB / 0.9107 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2615, allocations: 0 / 0.9107 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001043/0.2626, allocations: 0.4969 MB / 0.9112 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2626, allocations: 7.938 kB / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2626, allocations: 0 / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2626, allocations: 4 kB / 0.9112 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.2631, allocations: 71.92 kB / 0.9113 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2631, allocations: 0 / 0.9113 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.2634, allocations: 55.8 kB / 0.9113 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2634, allocations: 11.98 kB / 0.9113 GB, free: 52.12 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.000156/0.2636, allocations: 169.7 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.2637, allocations: 31.62 kB / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.2637, allocations: 39.59 kB / 0.9116 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2638, allocations: 4 kB / 0.9116 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2638, allocations: 4 kB / 0.9116 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2638, allocations: 0 / 0.9116 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.2642, allocations: 482.7 kB / 0.912 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2642, allocations: 0 / 0.912 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.2646, allocations: 71.92 kB / 0.9121 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2646, allocations: 0 / 0.9121 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.2646, allocations: 8 kB / 0.9121 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2647, allocations: 0 / 0.9121 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2647, allocations: 0 / 0.9121 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2657, allocations: 0.6024 MB / 0.9127 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.2658, allocations: 112.6 kB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.2659, allocations: 8 kB / 0.9128 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.2662, allocations: 47.94 kB / 0.9129 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.2663, allocations: 27.95 kB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2663, allocations: 4 kB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002437/0.2666, allocations: 303.1 kB / 0.9132 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2666, allocations: 0 / 0.9132 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003047/0.2669, allocations: 67.94 kB / 0.9132 GB, free: 50.07 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.001245/0.2681, allocations: 1.145 MB / 0.9144 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.2692, allocations: 480.5 kB / 0.9148 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2692, allocations: 0 / 0.9148 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.2697, allocations: 247.8 kB / 0.9151 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2701, allocations: 45.53 kB / 0.9151 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2741, allocations: 2.589 MB / 0.9176 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2743, allocations: 0.8025 MB / 0.9184 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.2746, allocations: 62.3 kB / 0.9185 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.2748, allocations: 103.4 kB / 0.9186 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2748, allocations: 3.938 kB / 0.9186 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2925, allocations: 7.188 MB / 0.9256 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.2928, allocations: 217 kB / 0.9258 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.694, allocations: 0 / 0.9258 GB, free: 37.32 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)