Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.249/2.249, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 175.8 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 88.36 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.182e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8723/1.074, allocations: 136.1 MB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.075, allocations: 85.83 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03415/1.109, allocations: 7.889 MB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.109, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.109, allocations: 4 kB / 1.025 GB, free: 12.21 MB / 0.6511 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.001509/1.111, allocations: 0.6159 MB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/1.111, allocations: 8.031 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/1.112, allocations: 151.3 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/1.113, allocations: 342.6 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.113, allocations: 75.84 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/1.113, allocations: 12 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009162/1.114, allocations: 309.2 kB / 1.026 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/1.115, allocations: 234.1 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.115, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/1.115, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/1.115, allocations: 3.953 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/1.117, allocations: 0.8265 MB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/1.118, allocations: 210.6 kB / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/1.118, allocations: 163 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/1.118, allocations: 3.938 kB / 1.028 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.118, allocations: 37.38 kB / 1.028 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 5.26e-06/1.118, allocations: 0 / 1.028 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001007/1.119, allocations: 348.9 kB / 1.028 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.119, allocations: 55.41 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/1.12, allocations: 344.7 kB / 1.028 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/1.12, allocations: 33.64 kB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/1.12, allocations: 181.9 kB / 1.029 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.12, allocations: 49.64 kB / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.12, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.121, allocations: 346.5 kB / 1.029 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/1.121, allocations: 145 kB / 1.029 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/1.121, allocations: 172.1 kB / 1.029 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/1.122, allocations: 132.6 kB / 1.029 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.122, allocations: 7.953 kB / 1.029 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001012/1.123, allocations: 347.4 kB / 1.03 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.123, allocations: 4 kB / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/1.123, allocations: 0 / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.123, allocations: 0 / 1.03 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/1.124, allocations: 78.86 kB / 1.03 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.124, allocations: 4 kB / 1.03 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/1.125, allocations: 47.8 kB / 1.03 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/1.125, allocations: 4 kB / 1.03 GB, free: 7.93 MB / 0.6511 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 (equFit.uMod) * Number of discrete 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.0001591/1.125, allocations: 109 kB / 1.03 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009942/1.126, allocations: 354.5 kB / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/1.126, allocations: 35.53 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.126, allocations: 40.12 kB / 1.03 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.126, allocations: 0 / 1.03 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.126, allocations: 4 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.126, allocations: 0 / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/1.127, allocations: 444.5 kB / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.127, allocations: 0 / 1.031 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/1.128, allocations: 83.86 kB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.128, allocations: 48 / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/1.128, allocations: 3.984 kB / 1.031 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.128, allocations: 3.984 kB / 1.031 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.128, allocations: 4 kB / 1.031 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.129, allocations: 447.4 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/1.129, allocations: 119.6 kB / 1.031 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/1.129, allocations: 0 / 1.031 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/1.13, allocations: 43.95 kB / 1.032 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.13, allocations: 26.45 kB / 1.032 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/1.13, allocations: 7.984 kB / 1.032 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004876/1.131, allocations: 272.4 kB / 1.032 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.131, allocations: 0 / 1.032 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005705/1.131, allocations: 71.48 kB / 1.032 GB, free: 6.234 MB / 0.6511 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 (equFit.uMod) * Number of discrete 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.001709/1.133, allocations: 1.104 MB / 1.033 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009159/1.134, allocations: 317.9 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.134, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004458/1.134, allocations: 174.2 kB / 1.033 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/1.135, allocations: 40.19 kB / 1.033 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/1.137, allocations: 0.5376 MB / 1.034 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.138, allocations: 0.8042 MB / 1.035 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005805/1.138, allocations: 62.03 kB / 1.035 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/1.139, allocations: 103.4 kB / 1.035 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/1.139, allocations: 0 / 1.035 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/1.193, allocations: 7.223 MB / 1.042 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/1.194, allocations: 163.6 kB / 1.042 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.979, allocations: 3 kB / 1.042 GB, free: 12.15 MB / 0.6667 GB