Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.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.Examples.EquationFitReversible,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Examples_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.263/2.263, allocations: 248.7 MB / 256.2 MB, free: 7.023 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.001491/0.001491, allocations: 178.4 kB / 315.4 MB, free: 3.988 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.085/2.085, allocations: 205.3 MB / 0.5662 GB, free: 0.582 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.001203/0.001202, allocations: 89.25 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.112e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2718, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.912/2.184, allocations: 428.2 MB / 1.302 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/2.184, allocations: 90.62 kB / 1.302 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.262/4.446, allocations: 0.4997 GB / 1.802 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.166e-06/4.446, allocations: 0 / 1.802 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002996/4.447, allocations: 39.44 kB / 1.802 GB, free: 126.8 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.007439/4.454, allocations: 1.894 MB / 1.804 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/4.454, allocations: 8.031 kB / 1.804 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/4.457, allocations: 325.5 kB / 1.804 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/4.463, allocations: 1.62 MB / 1.806 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/4.463, allocations: 121.5 kB / 1.806 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/4.463, allocations: 67.61 kB / 1.806 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003044/4.466, allocations: 0.9843 MB / 1.807 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/4.47, allocations: 1.114 MB / 1.808 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/4.47, allocations: 7.844 kB / 1.808 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/4.47, allocations: 7.984 kB / 1.808 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/4.47, allocations: 32 kB / 1.808 GB, free: 120.4 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.01325/4.483, allocations: 6.705 MB / 1.815 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/4.485, allocations: 0.5874 MB / 1.815 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/4.486, allocations: 380.1 kB / 1.816 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/4.487, allocations: 0.8271 MB / 1.816 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/4.487, allocations: 43.12 kB / 1.816 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.988e-06/4.487, allocations: 0 / 1.816 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.002837/4.49, allocations: 0.8097 MB / 1.817 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/4.49, allocations: 111.4 kB / 1.817 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/4.492, allocations: 1.145 MB / 1.818 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/4.492, allocations: 29.7 kB / 1.818 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/4.493, allocations: 0.7578 MB / 1.819 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/4.494, allocations: 208.9 kB / 1.819 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/4.494, allocations: 0 / 1.819 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/4.494, allocations: 341.9 kB / 1.82 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000839/4.495, allocations: 346.5 kB / 1.82 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/4.496, allocations: 0.5965 MB / 1.821 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/4.497, allocations: 422.9 kB / 1.821 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/4.497, allocations: 0 / 1.821 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00339/4.501, allocations: 1.025 MB / 1.822 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004225/4.501, allocations: 1.88 MB / 1.824 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/4.501, allocations: 4 kB / 1.824 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/4.501, allocations: 8 kB / 1.824 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/4.503, allocations: 271.6 kB / 1.824 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/4.504, allocations: 15.92 kB / 1.824 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/4.506, allocations: 203 kB / 1.824 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/4.507, allocations: 35.98 kB / 1.824 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/4.507, allocations: 4 kB / 1.824 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00277/4.51, allocations: 0.8539 MB / 1.825 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/4.51, allocations: 4 kB / 1.825 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/4.51, allocations: 8 kB / 1.825 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/4.512, allocations: 267.9 kB / 1.826 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/4.512, allocations: 15.94 kB / 1.826 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/4.515, allocations: 167.2 kB / 1.826 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/4.515, allocations: 43.98 kB / 1.826 GB, free: 101.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0003731/4.515, allocations: 124.7 kB / 1.826 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002628/4.518, allocations: 0.8136 MB / 1.827 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/4.518, allocations: 142.2 kB / 1.827 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/4.522, allocations: 0.9464 MB / 1.828 GB, free: 99.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/4.522, allocations: 8 kB / 1.828 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/4.522, allocations: 0 / 1.828 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00287/4.525, allocations: 0.8179 MB / 1.829 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007112/4.532, allocations: 2.441 MB / 1.831 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/4.532, allocations: 0 / 1.831 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/4.534, allocations: 208 kB / 1.831 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/4.534, allocations: 8 kB / 1.831 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/4.534, allocations: 15.92 kB / 1.831 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/4.534, allocations: 4 kB / 1.831 GB, free: 95.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/4.534, allocations: 7.938 kB / 1.831 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/4.538, allocations: 1.701 MB / 1.833 GB, free: 93.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/4.539, allocations: 375 kB / 1.833 GB, free: 93.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/4.54, allocations: 8.062 kB / 1.833 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/4.542, allocations: 111.8 kB / 1.833 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/4.543, allocations: 76.45 kB / 1.833 GB, free: 93.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/4.543, allocations: 39.92 kB / 1.833 GB, free: 93.36 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00202/4.545, allocations: 0.8639 MB / 1.834 GB, free: 92.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.202e-06/4.545, allocations: 0 / 1.834 GB, free: 92.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004333/4.549, allocations: 0.8335 MB / 1.835 GB, free: 91.66 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006359/4.556, allocations: 3.611 MB / 1.839 GB, free: 88.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003665/4.559, allocations: 1.371 MB / 1.84 GB, free: 86.65 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/4.559, allocations: 0 / 1.84 GB, free: 86.65 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/4.561, allocations: 462.6 kB / 1.84 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/4.566, allocations: 0.5824 MB / 1.841 GB, free: 85.63 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/4.574, allocations: 2.333 MB / 1.843 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000966/4.575, allocations: 1.306 MB / 1.844 GB, free: 81.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00432/4.579, allocations: 0.4928 MB / 1.845 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/4.581, allocations: 0.5813 MB / 1.846 GB, free: 80.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.795e-06/4.581, allocations: 0 / 1.846 GB, free: 80.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/4.706, allocations: 41.26 MB / 1.886 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/4.706, allocations: 177.7 kB / 1.886 GB, free: 39.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/9.018, allocations: 0 / 1.886 GB, free: 39.57 MB / 0.8698 GB