Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001051/0.001051, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.5/1.5, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0008329/0.0008329, allocations: 83.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.65e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7435, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.971, allocations: 436.2 MB / 1.399 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.972, allocations: 89.62 kB / 1.399 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/3.711, allocations: 0.5131 GB / 1.912 GB, free: 82.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.285e-06/3.711, allocations: 0 / 1.912 GB, free: 82.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002729/3.712, allocations: 32 kB / 1.912 GB, free: 82.18 MB / 0.948 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.005727/3.717, allocations: 1.899 MB / 1.914 GB, free: 80.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/3.717, allocations: 12.03 kB / 1.914 GB, free: 80.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/3.719, allocations: 321.5 kB / 1.915 GB, free: 79.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/3.723, allocations: 1.629 MB / 1.916 GB, free: 78.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/3.723, allocations: 121.5 kB / 1.916 GB, free: 78.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/3.724, allocations: 68 kB / 1.916 GB, free: 78.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002063/3.726, allocations: 0.9882 MB / 1.917 GB, free: 77.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/3.728, allocations: 1.122 MB / 1.918 GB, free: 75.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/3.728, allocations: 7.844 kB / 1.918 GB, free: 75.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/3.728, allocations: 4 kB / 1.918 GB, free: 75.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/3.728, allocations: 35.94 kB / 1.918 GB, free: 75.78 MB / 0.948 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.009511/3.737, allocations: 6.715 MB / 1.925 GB, free: 68.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008348/3.738, allocations: 0.5899 MB / 1.926 GB, free: 67.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/3.739, allocations: 374.5 kB / 1.926 GB, free: 67.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/3.739, allocations: 0.8316 MB / 1.927 GB, free: 66.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/3.739, allocations: 51.02 kB / 1.927 GB, free: 66.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/3.739, allocations: 0 / 1.927 GB, free: 66.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.001728/3.741, allocations: 0.8097 MB / 1.928 GB, free: 65.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/3.741, allocations: 111.4 kB / 1.928 GB, free: 65.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/3.743, allocations: 1.133 MB / 1.929 GB, free: 64.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/3.743, allocations: 29.7 kB / 1.929 GB, free: 64.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004807/3.743, allocations: 0.7617 MB / 1.93 GB, free: 63.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/3.744, allocations: 212.9 kB / 1.93 GB, free: 63.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/3.744, allocations: 3.938 kB / 1.93 GB, free: 63.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/3.744, allocations: 341.9 kB / 1.93 GB, free: 63.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/3.744, allocations: 346.5 kB / 1.93 GB, free: 62.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/3.745, allocations: 0.5995 MB / 1.931 GB, free: 62.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/3.746, allocations: 422.3 kB / 1.931 GB, free: 61.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/3.746, allocations: 0 / 1.931 GB, free: 61.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001774/3.747, allocations: 1.026 MB / 1.932 GB, free: 60.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003946/3.748, allocations: 1.873 MB / 1.934 GB, free: 58.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/3.748, allocations: 4 kB / 1.934 GB, free: 58.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/3.748, allocations: 8 kB / 1.934 GB, free: 58.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/3.749, allocations: 271.6 kB / 1.935 GB, free: 58.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/3.749, allocations: 11.94 kB / 1.935 GB, free: 58.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/3.751, allocations: 211 kB / 1.935 GB, free: 58.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/3.751, allocations: 35.94 kB / 1.935 GB, free: 58.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/3.751, allocations: 4 kB / 1.935 GB, free: 58.06 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/3.752, allocations: 0.8496 MB / 1.936 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/3.752, allocations: 4 kB / 1.936 GB, free: 57.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/3.752, allocations: 12.56 kB / 1.936 GB, free: 57.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/3.753, allocations: 275.6 kB / 1.936 GB, free: 56.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/3.753, allocations: 8 kB / 1.936 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/3.755, allocations: 171.2 kB / 1.936 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.787e-05/3.755, allocations: 39.98 kB / 1.936 GB, free: 56.71 MB / 0.948 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.0002555/3.755, allocations: 130.8 kB / 1.936 GB, free: 56.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/3.755, allocations: 142.3 kB / 1.936 GB, free: 56.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/3.757, allocations: 0.9502 MB / 1.937 GB, free: 55.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/3.757, allocations: 8 kB / 1.937 GB, free: 55.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/3.757, allocations: 4 kB / 1.937 GB, free: 55.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/3.758, allocations: 0.8258 MB / 1.938 GB, free: 54.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/3.762, allocations: 2.448 MB / 1.941 GB, free: 52.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/3.762, allocations: 4 kB / 1.941 GB, free: 52.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/3.763, allocations: 208 kB / 1.941 GB, free: 51.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/3.763, allocations: 4 kB / 1.941 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/3.763, allocations: 7.984 kB / 1.941 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/3.763, allocations: 8 kB / 1.941 GB, free: 51.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/3.763, allocations: 3.938 kB / 1.941 GB, free: 51.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/3.766, allocations: 1.709 MB / 1.942 GB, free: 50.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/3.766, allocations: 386.9 kB / 1.943 GB, free: 49.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/3.767, allocations: 7.938 kB / 1.943 GB, free: 49.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/3.768, allocations: 111.9 kB / 1.943 GB, free: 49.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/3.768, allocations: 72.41 kB / 1.943 GB, free: 49.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/3.768, allocations: 35.97 kB / 1.943 GB, free: 49.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0012/3.769, allocations: 0.8639 MB / 1.944 GB, free: 48.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/3.769, allocations: 0 / 1.944 GB, free: 48.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00271/3.772, allocations: 0.8378 MB / 1.945 GB, free: 47.69 MB / 0.948 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.00141/3.773, allocations: 0.7708 MB / 1.945 GB, free: 46.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001893/3.775, allocations: 1.378 MB / 1.947 GB, free: 45.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/3.775, allocations: 0 / 1.947 GB, free: 45.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/3.776, allocations: 465.8 kB / 1.947 GB, free: 45.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/3.779, allocations: 0.5759 MB / 1.948 GB, free: 44.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/3.782, allocations: 1.998 MB / 1.95 GB, free: 42.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/3.782, allocations: 1.306 MB / 1.951 GB, free: 41.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001787/3.784, allocations: 0.4981 MB / 1.951 GB, free: 40.59 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/3.784, allocations: 91.34 kB / 1.952 GB, free: 40.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/3.784, allocations: 0 / 1.952 GB, free: 40.5 MB / 0.948 GB Notification: Performance of Templates: time 0.04382/3.828, allocations: 28.49 MB / 1.979 GB, free: 12.23 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)