Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.539/2.539, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002016/0.002016, allocations: 192.8 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001541/0.00154, allocations: 93.62 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.388e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8357, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/2.154, allocations: 434.8 MB / 1.388 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/2.155, allocations: 88.77 kB / 1.388 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.408/4.563, allocations: 0.5132 GB / 1.901 GB, free: 68.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.675e-06/4.563, allocations: 7.938 kB / 1.901 GB, free: 68.65 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002955/4.563, allocations: 39.92 kB / 1.901 GB, free: 68.61 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.008083/4.571, allocations: 1.887 MB / 1.903 GB, free: 66.68 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/4.571, allocations: 20.02 kB / 1.903 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/4.574, allocations: 321.5 kB / 1.904 GB, free: 66.34 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/4.58, allocations: 1.629 MB / 1.905 GB, free: 64.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/4.581, allocations: 121.5 kB / 1.905 GB, free: 64.53 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/4.581, allocations: 64 kB / 1.905 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003194/4.584, allocations: 0.9882 MB / 1.906 GB, free: 63.47 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/4.587, allocations: 1.126 MB / 1.907 GB, free: 62.26 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/4.587, allocations: 7.844 kB / 1.907 GB, free: 62.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/4.588, allocations: 4 kB / 1.907 GB, free: 62.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/4.588, allocations: 28 kB / 1.907 GB, free: 62.22 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.01218/4.6, allocations: 6.715 MB / 1.914 GB, free: 55.01 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/4.601, allocations: 0.5977 MB / 1.915 GB, free: 54.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/4.602, allocations: 374.4 kB / 1.915 GB, free: 54.04 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007095/4.603, allocations: 0.8316 MB / 1.916 GB, free: 53.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/4.603, allocations: 47.12 kB / 1.916 GB, free: 52.96 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 3.236e-06/4.603, allocations: 0 / 1.916 GB, free: 52.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.002687/4.606, allocations: 0.8097 MB / 1.917 GB, free: 52.14 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/4.606, allocations: 111.4 kB / 1.917 GB, free: 52.01 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/4.608, allocations: 1.133 MB / 1.918 GB, free: 50.87 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/4.609, allocations: 29.7 kB / 1.918 GB, free: 50.84 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000687/4.609, allocations: 0.7579 MB / 1.919 GB, free: 50.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/4.61, allocations: 208.9 kB / 1.919 GB, free: 49.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/4.61, allocations: 0 / 1.919 GB, free: 49.86 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/4.61, allocations: 342 kB / 1.919 GB, free: 49.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/4.611, allocations: 346.5 kB / 1.919 GB, free: 49.19 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009511/4.612, allocations: 0.5995 MB / 1.92 GB, free: 48.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/4.613, allocations: 418.2 kB / 1.92 GB, free: 48.07 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/4.613, allocations: 0 / 1.92 GB, free: 48.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003094/4.616, allocations: 1.033 MB / 1.921 GB, free: 47.03 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004039/4.617, allocations: 1.873 MB / 1.923 GB, free: 45.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/4.617, allocations: 4 kB / 1.923 GB, free: 45.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/4.617, allocations: 8 kB / 1.923 GB, free: 45.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/4.619, allocations: 275.6 kB / 1.923 GB, free: 44.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/4.619, allocations: 15.89 kB / 1.923 GB, free: 44.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/4.622, allocations: 210.9 kB / 1.924 GB, free: 44.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/4.622, allocations: 35.98 kB / 1.924 GB, free: 44.51 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/4.622, allocations: 4 kB / 1.924 GB, free: 44.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002626/4.625, allocations: 0.8535 MB / 1.925 GB, free: 43.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/4.625, allocations: 4 kB / 1.925 GB, free: 43.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/4.625, allocations: 8 kB / 1.925 GB, free: 43.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/4.627, allocations: 276.2 kB / 1.925 GB, free: 43.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/4.627, allocations: 8 kB / 1.925 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/4.63, allocations: 175.2 kB / 1.925 GB, free: 43.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/4.63, allocations: 35.98 kB / 1.925 GB, free: 43.15 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.000363/4.631, allocations: 132.5 kB / 1.925 GB, free: 43.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/4.631, allocations: 138.3 kB / 1.925 GB, free: 42.88 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/4.635, allocations: 0.9463 MB / 1.926 GB, free: 41.92 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/4.635, allocations: 11.94 kB / 1.926 GB, free: 41.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/4.635, allocations: 0 / 1.926 GB, free: 41.91 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001901/4.637, allocations: 0.8219 MB / 1.927 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/4.644, allocations: 2.452 MB / 1.929 GB, free: 38.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/4.644, allocations: 4 kB / 1.929 GB, free: 38.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/4.646, allocations: 203.8 kB / 1.93 GB, free: 38.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/4.646, allocations: 7.984 kB / 1.93 GB, free: 38.31 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-05/4.646, allocations: 8 kB / 1.93 GB, free: 38.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-06/4.646, allocations: 7.953 kB / 1.93 GB, free: 38.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/4.646, allocations: 4 kB / 1.93 GB, free: 38.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/4.649, allocations: 1.709 MB / 1.931 GB, free: 36.46 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/4.651, allocations: 379 kB / 1.932 GB, free: 36.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/4.651, allocations: 4 kB / 1.932 GB, free: 36.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/4.653, allocations: 119.9 kB / 1.932 GB, free: 35.95 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/4.653, allocations: 76.34 kB / 1.932 GB, free: 35.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/4.653, allocations: 35.97 kB / 1.932 GB, free: 35.84 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001726/4.655, allocations: 0.86 MB / 1.933 GB, free: 34.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.61e-07/4.655, allocations: 0 / 1.933 GB, free: 34.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00341/4.659, allocations: 0.8378 MB / 1.934 GB, free: 34.14 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.001804/4.66, allocations: 0.7861 MB / 1.934 GB, free: 33.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003214/4.664, allocations: 1.371 MB / 1.936 GB, free: 31.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/4.664, allocations: 4 kB / 1.936 GB, free: 31.96 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/4.665, allocations: 462.6 kB / 1.936 GB, free: 31.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/4.67, allocations: 0.5831 MB / 1.937 GB, free: 30.94 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/4.675, allocations: 2.01 MB / 1.939 GB, free: 28.86 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/4.676, allocations: 1.306 MB / 1.94 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003636/4.68, allocations: 0.4981 MB / 1.94 GB, free: 27.02 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/4.68, allocations: 83.41 kB / 1.94 GB, free: 26.94 MB / 0.9323 GB Notification: Performance of SimCode: time 1.292e-06/4.68, allocations: 0 / 1.94 GB, free: 26.94 MB / 0.9323 GB Notification: Performance of Templates: time 0.7511/5.431, allocations: 28.64 MB / 1.968 GB, free: 177.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)