Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.507/2.507, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001431/0.001431, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001046/0.001046, allocations: 94.92 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.47e-05, allocations: 4 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8237, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/2.199, allocations: 434.8 MB / 1.388 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/2.2, allocations: 86.36 kB / 1.388 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.439/4.639, allocations: 0.5131 GB / 1.901 GB, free: 68.65 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.766e-06/4.639, allocations: 0 / 1.901 GB, free: 68.65 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002566/4.639, allocations: 51.92 kB / 1.901 GB, free: 68.6 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.007227/4.646, allocations: 1.895 MB / 1.903 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/4.647, allocations: 11.97 kB / 1.903 GB, free: 66.65 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/4.649, allocations: 325.4 kB / 1.903 GB, free: 66.33 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/4.654, allocations: 1.637 MB / 1.905 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/4.655, allocations: 121.5 kB / 1.905 GB, free: 64.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/4.655, allocations: 67.91 kB / 1.905 GB, free: 64.44 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002769/4.658, allocations: 0.9882 MB / 1.906 GB, free: 63.45 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/4.661, allocations: 1.122 MB / 1.907 GB, free: 62.24 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/4.661, allocations: 4 kB / 1.907 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/4.661, allocations: 4 kB / 1.907 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/4.661, allocations: 32 kB / 1.907 GB, free: 62.2 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.01248/4.674, allocations: 6.711 MB / 1.914 GB, free: 54.99 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/4.675, allocations: 0.5981 MB / 1.914 GB, free: 54.38 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/4.676, allocations: 377 kB / 1.915 GB, free: 54.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/4.677, allocations: 0.8316 MB / 1.916 GB, free: 53 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/4.677, allocations: 39.12 kB / 1.916 GB, free: 52.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 3.847e-06/4.677, allocations: 0 / 1.916 GB, free: 52.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.002613/4.679, allocations: 0.8136 MB / 1.916 GB, free: 52.13 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/4.679, allocations: 111.4 kB / 1.917 GB, free: 52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/4.682, allocations: 1.137 MB / 1.918 GB, free: 50.85 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003037/4.682, allocations: 29.7 kB / 1.918 GB, free: 50.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006686/4.683, allocations: 0.7618 MB / 1.918 GB, free: 50.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/4.683, allocations: 216.8 kB / 1.919 GB, free: 49.83 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/4.683, allocations: 0 / 1.919 GB, free: 49.83 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001113/4.683, allocations: 334 kB / 1.919 GB, free: 49.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/4.684, allocations: 350.5 kB / 1.919 GB, free: 49.16 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/4.685, allocations: 0.6034 MB / 1.92 GB, free: 48.45 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/4.686, allocations: 418.2 kB / 1.92 GB, free: 48.04 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/4.686, allocations: 0 / 1.92 GB, free: 48.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003114/4.69, allocations: 1.025 MB / 1.921 GB, free: 47 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004033/4.69, allocations: 1.869 MB / 1.923 GB, free: 45.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/4.69, allocations: 8 kB / 1.923 GB, free: 45.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/4.69, allocations: 8 kB / 1.923 GB, free: 45.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/4.692, allocations: 275.6 kB / 1.923 GB, free: 44.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/4.692, allocations: 11.95 kB / 1.923 GB, free: 44.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/4.695, allocations: 206.9 kB / 1.924 GB, free: 44.53 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/4.695, allocations: 39.98 kB / 1.924 GB, free: 44.49 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/4.695, allocations: 4 kB / 1.924 GB, free: 44.48 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/4.698, allocations: 0.85 MB / 1.924 GB, free: 43.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/4.698, allocations: 4 kB / 1.924 GB, free: 43.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/4.698, allocations: 8 kB / 1.924 GB, free: 43.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/4.7, allocations: 271.8 kB / 1.925 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/4.7, allocations: 11.94 kB / 1.925 GB, free: 43.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/4.703, allocations: 175.2 kB / 1.925 GB, free: 43.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/4.703, allocations: 43.98 kB / 1.925 GB, free: 43.13 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.0003736/4.703, allocations: 128.5 kB / 1.925 GB, free: 43 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002457/4.706, allocations: 0.8097 MB / 1.926 GB, free: 42.18 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/4.706, allocations: 138.3 kB / 1.926 GB, free: 42.04 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/4.709, allocations: 0.9541 MB / 1.927 GB, free: 41.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/4.709, allocations: 8 kB / 1.927 GB, free: 41.06 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/4.709, allocations: 0 / 1.927 GB, free: 41.06 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/4.711, allocations: 0.818 MB / 1.928 GB, free: 40.21 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006383/4.717, allocations: 2.448 MB / 1.93 GB, free: 37.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/4.717, allocations: 4 kB / 1.93 GB, free: 37.69 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/4.719, allocations: 200 kB / 1.93 GB, free: 37.49 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/4.719, allocations: 11.95 kB / 1.93 GB, free: 37.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/4.719, allocations: 11.98 kB / 1.93 GB, free: 37.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/4.719, allocations: 11.94 kB / 1.93 GB, free: 37.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/4.719, allocations: 0 / 1.93 GB, free: 37.46 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/4.723, allocations: 1.705 MB / 1.932 GB, free: 35.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/4.724, allocations: 375 kB / 1.932 GB, free: 35.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/4.725, allocations: 4 kB / 1.932 GB, free: 35.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/4.727, allocations: 127.7 kB / 1.933 GB, free: 35.11 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/4.727, allocations: 80.34 kB / 1.933 GB, free: 35.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/4.727, allocations: 35.97 kB / 1.933 GB, free: 35 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001761/4.729, allocations: 0.8639 MB / 1.933 GB, free: 34.13 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.01e-07/4.729, allocations: 0 / 1.933 GB, free: 34.13 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004206/4.733, allocations: 0.8339 MB / 1.934 GB, free: 33.3 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.006045/4.74, allocations: 3.61 MB / 1.938 GB, free: 29.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003368/4.743, allocations: 1.371 MB / 1.939 GB, free: 28.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/4.743, allocations: 4 kB / 1.939 GB, free: 28.22 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/4.744, allocations: 458.7 kB / 1.94 GB, free: 27.78 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005182/4.749, allocations: 0.592 MB / 1.94 GB, free: 27.19 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/4.757, allocations: 2.338 MB / 1.942 GB, free: 24.77 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/4.758, allocations: 1.306 MB / 1.944 GB, free: 23.43 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003764/4.762, allocations: 0.502 MB / 1.944 GB, free: 22.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/4.763, allocations: 0.5696 MB / 1.945 GB, free: 22.35 MB / 0.9323 GB Notification: Performance of SimCode: time 1.213e-06/4.763, allocations: 0 / 1.945 GB, free: 22.35 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8271/5.59, allocations: 41.51 MB / 1.985 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/5.59, allocations: 176.3 kB / 1.985 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/10.25, allocations: 2.625 kB / 1.985 GB, free: 171.3 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)