Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.248/2.248, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001526/0.001526, allocations: 181.9 kB / 315.4 MB, free: 4.012 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.134/2.134, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001059/0.001059, allocations: 91 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.226e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/2.165, allocations: 411 MB / 1.286 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/2.165, allocations: 87.22 kB / 1.286 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.686/4.85, allocations: 0.5954 GB / 1.881 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/4.851, allocations: 0 / 1.881 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001645/4.851, allocations: 34.73 kB / 1.881 GB, free: 44.66 MB / 0.8698 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.004223/4.855, allocations: 1.732 MB / 1.883 GB, free: 42.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/4.855, allocations: 16 kB / 1.883 GB, free: 42.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/4.859, allocations: 0.4936 MB / 1.883 GB, free: 42.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/4.863, allocations: 1.498 MB / 1.885 GB, free: 40.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/4.864, allocations: 241.2 kB / 1.885 GB, free: 40.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/4.864, allocations: 60.62 kB / 1.885 GB, free: 40.56 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002573/4.867, allocations: 0.988 MB / 1.886 GB, free: 39.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/4.869, allocations: 0.9801 MB / 1.887 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/4.869, allocations: 3.938 kB / 1.887 GB, free: 38.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/4.87, allocations: 7.938 kB / 1.887 GB, free: 38.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/4.87, allocations: 20 kB / 1.887 GB, free: 38.52 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01002/4.88, allocations: 4.314 MB / 1.891 GB, free: 34.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/4.891, allocations: 1.605 MB / 1.893 GB, free: 32.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/4.892, allocations: 358.4 kB / 1.893 GB, free: 32.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000873/4.892, allocations: 1.155 MB / 1.894 GB, free: 30.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/4.893, allocations: 445.8 kB / 1.895 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 3.076e-06/4.893, allocations: 0 / 1.895 GB, free: 30.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.002596/4.896, allocations: 0.8449 MB / 1.895 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/4.896, allocations: 85.67 kB / 1.895 GB, free: 29.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/4.898, allocations: 1.192 MB / 1.897 GB, free: 28.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/4.898, allocations: 29.7 kB / 1.897 GB, free: 28.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/4.899, allocations: 0.6696 MB / 1.897 GB, free: 27.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/4.899, allocations: 189.2 kB / 1.897 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/4.9, allocations: 0 / 1.897 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/4.9, allocations: 337.9 kB / 1.898 GB, free: 26.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/4.9, allocations: 349.5 kB / 1.898 GB, free: 26.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/4.901, allocations: 0.5285 MB / 1.899 GB, free: 25.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/4.903, allocations: 420.2 kB / 1.899 GB, free: 25.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/4.903, allocations: 0 / 1.899 GB, free: 25.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002756/4.905, allocations: 0.997 MB / 1.9 GB, free: 24.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/4.906, allocations: 0.8971 MB / 1.901 GB, free: 23.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/4.906, allocations: 4 kB / 1.901 GB, free: 23.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/4.906, allocations: 4 kB / 1.901 GB, free: 23.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/4.908, allocations: 223.7 kB / 1.901 GB, free: 23.28 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/4.908, allocations: 11.88 kB / 1.901 GB, free: 23.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/4.91, allocations: 195.4 kB / 1.901 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/4.91, allocations: 35.97 kB / 1.901 GB, free: 23.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/4.91, allocations: 4 kB / 1.901 GB, free: 23.04 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002412/4.913, allocations: 0.8251 MB / 1.902 GB, free: 22.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/4.913, allocations: 8 kB / 1.902 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/4.913, allocations: 4 kB / 1.902 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/4.915, allocations: 224 kB / 1.902 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/4.915, allocations: 7.953 kB / 1.902 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/4.917, allocations: 163.4 kB / 1.903 GB, free: 21.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/4.917, allocations: 39.97 kB / 1.903 GB, free: 21.77 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002825/4.917, allocations: 121 kB / 1.903 GB, free: 21.65 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002219/4.919, allocations: 0.8409 MB / 1.904 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/4.92, allocations: 134.3 kB / 1.904 GB, free: 20.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/4.923, allocations: 1.08 MB / 1.905 GB, free: 19.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/4.923, allocations: 8 kB / 1.905 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/4.923, allocations: 0 / 1.905 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/4.923, allocations: 3.984 kB / 1.905 GB, free: 19.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/4.928, allocations: 2.483 MB / 1.907 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/4.928, allocations: 7.984 kB / 1.907 GB, free: 17.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/4.93, allocations: 160.1 kB / 1.907 GB, free: 16.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/4.93, allocations: 4 kB / 1.907 GB, free: 16.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/4.93, allocations: 19.97 kB / 1.907 GB, free: 16.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/4.93, allocations: 4 kB / 1.907 GB, free: 16.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/4.93, allocations: 7.984 kB / 1.907 GB, free: 16.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/4.932, allocations: 1.268 MB / 1.909 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000895/4.933, allocations: 394.9 kB / 1.909 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/4.934, allocations: 7.938 kB / 1.909 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/4.936, allocations: 115.8 kB / 1.909 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/4.936, allocations: 56.42 kB / 1.909 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/4.936, allocations: 31.97 kB / 1.909 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001724/4.938, allocations: 0.9103 MB / 1.91 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/4.938, allocations: 4 kB / 1.91 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002812/4.94, allocations: 0.7327 MB / 1.911 GB, free: 13.16 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * 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.005266/4.946, allocations: 3.428 MB / 1.914 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003096/4.949, allocations: 1.318 MB / 1.915 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/4.949, allocations: 448 / 1.915 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000925/4.95, allocations: 445.9 kB / 1.916 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/4.954, allocations: 487.5 kB / 1.916 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/4.959, allocations: 2.154 MB / 1.918 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008802/4.96, allocations: 1.28 MB / 1.92 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003346/4.964, allocations: 0.5012 MB / 1.92 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/4.965, allocations: 0.5305 MB / 1.921 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of SimCode: time 1.453e-06/4.965, allocations: 0 / 1.921 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7896/5.754, allocations: 38.48 MB / 1.958 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/5.755, allocations: 194.3 kB / 1.958 GB, free: 159 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/10.04, allocations: 0 / 1.958 GB, free: 159 MB / 0.8698 GB