Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 184.4 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.2 MB / 0.62 GB, free: 11.7 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 99.8 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.79e-05, allocations: 4 kB / 0.8517 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7061, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.865, allocations: 435 MB / 1.389 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/1.865, allocations: 87.89 kB / 1.389 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.789/3.655, allocations: 0.5132 GB / 1.902 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/3.655, allocations: 0 / 1.902 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002437/3.655, allocations: 39.94 kB / 1.902 GB, free: 66.75 MB / 0.9323 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.005773/3.661, allocations: 1.892 MB / 1.904 GB, free: 64.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/3.661, allocations: 15.97 kB / 1.904 GB, free: 64.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/3.663, allocations: 321.5 kB / 1.905 GB, free: 64.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/3.667, allocations: 1.637 MB / 1.906 GB, free: 62.79 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/3.667, allocations: 113.5 kB / 1.906 GB, free: 62.67 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/3.668, allocations: 68 kB / 1.906 GB, free: 62.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/3.669, allocations: 0.9882 MB / 1.907 GB, free: 61.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/3.671, allocations: 1.118 MB / 1.908 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/3.671, allocations: 15.77 kB / 1.908 GB, free: 60.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/3.671, allocations: 7.953 kB / 1.908 GB, free: 60.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/3.671, allocations: 32 kB / 1.908 GB, free: 60.35 MB / 0.9323 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.007422/3.679, allocations: 6.716 MB / 1.915 GB, free: 53.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/3.68, allocations: 0.5744 MB / 1.916 GB, free: 52.55 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/3.68, allocations: 386.4 kB / 1.916 GB, free: 52.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/3.68, allocations: 0.8355 MB / 1.917 GB, free: 51.16 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/3.681, allocations: 43.12 kB / 1.917 GB, free: 51.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 3.286e-06/3.681, allocations: 3.984 kB / 1.917 GB, free: 51.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.001436/3.682, allocations: 0.8058 MB / 1.918 GB, free: 50.29 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/3.682, allocations: 115.4 kB / 1.918 GB, free: 50.15 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/3.683, allocations: 1.137 MB / 1.919 GB, free: 49 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/3.683, allocations: 33.7 kB / 1.919 GB, free: 48.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/3.684, allocations: 0.754 MB / 1.92 GB, free: 48.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/3.684, allocations: 212.9 kB / 1.92 GB, free: 47.99 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/3.684, allocations: 0 / 1.92 GB, free: 47.99 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.175e-05/3.684, allocations: 337.9 kB / 1.92 GB, free: 47.66 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/3.685, allocations: 346.5 kB / 1.92 GB, free: 47.32 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/3.685, allocations: 0.5995 MB / 1.921 GB, free: 46.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/3.686, allocations: 426.2 kB / 1.921 GB, free: 46.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/3.686, allocations: 0 / 1.921 GB, free: 46.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001537/3.687, allocations: 1.026 MB / 1.922 GB, free: 45.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/3.688, allocations: 1.869 MB / 1.924 GB, free: 43.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/3.688, allocations: 4 kB / 1.924 GB, free: 43.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/3.688, allocations: 8 kB / 1.924 GB, free: 43.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/3.689, allocations: 271.6 kB / 1.925 GB, free: 42.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/3.689, allocations: 19.86 kB / 1.925 GB, free: 42.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/3.69, allocations: 206.9 kB / 1.925 GB, free: 42.69 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/3.691, allocations: 43.97 kB / 1.925 GB, free: 42.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/3.691, allocations: 5.094 kB / 1.925 GB, free: 42.64 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001396/3.692, allocations: 0.8541 MB / 1.926 GB, free: 41.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/3.692, allocations: 4 kB / 1.926 GB, free: 41.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/3.692, allocations: 8 kB / 1.926 GB, free: 41.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/3.693, allocations: 267.7 kB / 1.926 GB, free: 41.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/3.693, allocations: 11.98 kB / 1.926 GB, free: 41.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/3.694, allocations: 167.2 kB / 1.926 GB, free: 41.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/3.694, allocations: 43.97 kB / 1.926 GB, free: 41.29 MB / 0.9323 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.0002672/3.694, allocations: 126.8 kB / 1.926 GB, free: 41.16 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/3.695, allocations: 142.3 kB / 1.926 GB, free: 41.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/3.696, allocations: 0.954 MB / 1.927 GB, free: 40.05 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/3.696, allocations: 15.98 kB / 1.927 GB, free: 40.04 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/3.697, allocations: 0 / 1.927 GB, free: 40.04 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/3.698, allocations: 0.8141 MB / 1.928 GB, free: 39.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/3.701, allocations: 2.459 MB / 1.931 GB, free: 36.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/3.701, allocations: 4 kB / 1.931 GB, free: 36.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/3.702, allocations: 204 kB / 1.931 GB, free: 36.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/3.702, allocations: 4 kB / 1.931 GB, free: 36.45 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/3.702, allocations: 11.98 kB / 1.931 GB, free: 36.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/3.702, allocations: 11.94 kB / 1.931 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.702, allocations: 0 / 1.931 GB, free: 36.43 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/3.704, allocations: 1.717 MB / 1.932 GB, free: 34.58 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/3.705, allocations: 379 kB / 1.933 GB, free: 34.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/3.705, allocations: 7.984 kB / 1.933 GB, free: 34.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/3.706, allocations: 115.9 kB / 1.933 GB, free: 34.07 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/3.706, allocations: 76.36 kB / 1.933 GB, free: 34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/3.706, allocations: 31.97 kB / 1.933 GB, free: 33.96 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001016/3.707, allocations: 0.8678 MB / 1.934 GB, free: 33.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/3.707, allocations: 0 / 1.934 GB, free: 33.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002318/3.709, allocations: 0.8378 MB / 1.935 GB, free: 32.26 MB / 0.9323 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.001306/3.711, allocations: 0.7875 MB / 1.935 GB, free: 31.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001971/3.713, allocations: 1.375 MB / 1.937 GB, free: 30.08 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/3.713, allocations: 4.125 kB / 1.937 GB, free: 30.08 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/3.713, allocations: 465.8 kB / 1.937 GB, free: 29.62 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/3.716, allocations: 0.5684 MB / 1.938 GB, free: 29.06 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/3.719, allocations: 2.006 MB / 1.94 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/3.72, allocations: 1.31 MB / 1.941 GB, free: 25.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001973/3.722, allocations: 0.4981 MB / 1.942 GB, free: 25.14 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/3.722, allocations: 87.41 kB / 1.942 GB, free: 25.05 MB / 0.9323 GB Notification: Performance of SimCode: time 1.112e-06/3.722, allocations: 0 / 1.942 GB, free: 25.05 MB / 0.9323 GB Notification: Performance of Templates: time 0.64/4.362, allocations: 28.61 MB / 1.97 GB, free: 177.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)