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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001075/0.001075, allocations: 183.8 kB / 361.4 MB, free: 6.805 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.762/1.762, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.00104/0.001041, allocations: 94.27 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.005e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7177, allocations: 115.3 MB / 0.9644 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.889, allocations: 435 MB / 1.389 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.889, allocations: 90.62 kB / 1.389 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.88/3.769, allocations: 0.5131 GB / 1.902 GB, free: 66.54 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.524e-06/3.77, allocations: 0 / 1.902 GB, free: 66.54 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002594/3.77, allocations: 39.94 kB / 1.902 GB, free: 66.5 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.006054/3.776, allocations: 1.903 MB / 1.904 GB, free: 64.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/3.776, allocations: 12.03 kB / 1.904 GB, free: 64.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/3.778, allocations: 313.5 kB / 1.905 GB, free: 64.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/3.783, allocations: 1.641 MB / 1.906 GB, free: 62.54 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/3.783, allocations: 113.5 kB / 1.906 GB, free: 62.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/3.783, allocations: 67.91 kB / 1.906 GB, free: 62.35 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002436/3.786, allocations: 0.9882 MB / 1.907 GB, free: 61.36 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/3.788, allocations: 1.122 MB / 1.908 GB, free: 60.15 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/3.788, allocations: 7.938 kB / 1.908 GB, free: 60.14 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/3.788, allocations: 7.953 kB / 1.908 GB, free: 60.13 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/3.788, allocations: 31.98 kB / 1.909 GB, free: 60.1 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.009453/3.798, allocations: 6.724 MB / 1.915 GB, free: 52.88 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/3.799, allocations: 0.5804 MB / 1.916 GB, free: 52.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/3.799, allocations: 377.3 kB / 1.916 GB, free: 51.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/3.8, allocations: 0.8316 MB / 1.917 GB, free: 50.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/3.8, allocations: 43.06 kB / 1.917 GB, free: 50.86 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 4.448e-06/3.8, allocations: 0 / 1.917 GB, free: 50.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.001609/3.802, allocations: 0.8175 MB / 1.918 GB, free: 50.03 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/3.802, allocations: 107.4 kB / 1.918 GB, free: 49.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/3.803, allocations: 1.141 MB / 1.919 GB, free: 48.75 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/3.803, allocations: 25.7 kB / 1.919 GB, free: 48.72 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/3.804, allocations: 0.7657 MB / 1.92 GB, free: 47.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/3.804, allocations: 212.9 kB / 1.92 GB, free: 47.74 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/3.804, allocations: 0 / 1.92 GB, free: 47.74 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/3.804, allocations: 334 kB / 1.92 GB, free: 47.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/3.805, allocations: 350.5 kB / 1.921 GB, free: 47.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/3.805, allocations: 0.6034 MB / 1.921 GB, free: 46.35 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/3.806, allocations: 422.2 kB / 1.921 GB, free: 45.94 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/3.806, allocations: 4 kB / 1.921 GB, free: 45.94 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001568/3.808, allocations: 1.022 MB / 1.922 GB, free: 44.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000405/3.808, allocations: 1.872 MB / 1.924 GB, free: 42.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.808, allocations: 4 kB / 1.924 GB, free: 42.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/3.808, allocations: 8 kB / 1.924 GB, free: 42.92 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/3.809, allocations: 279.5 kB / 1.925 GB, free: 42.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/3.809, allocations: 19.92 kB / 1.925 GB, free: 42.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/3.811, allocations: 206.9 kB / 1.925 GB, free: 42.42 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/3.811, allocations: 39.98 kB / 1.925 GB, free: 42.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/3.811, allocations: 5.094 kB / 1.925 GB, free: 42.38 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/3.812, allocations: 0.8463 MB / 1.926 GB, free: 41.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/3.812, allocations: 4 kB / 1.926 GB, free: 41.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/3.812, allocations: 16.02 kB / 1.926 GB, free: 41.51 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/3.813, allocations: 267.6 kB / 1.926 GB, free: 41.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/3.813, allocations: 8 kB / 1.926 GB, free: 41.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/3.815, allocations: 171.2 kB / 1.926 GB, free: 41.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/3.815, allocations: 39.98 kB / 1.926 GB, free: 41.04 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.0002462/3.815, allocations: 124.7 kB / 1.926 GB, free: 40.91 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001341/3.816, allocations: 0.8175 MB / 1.927 GB, free: 40.08 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/3.816, allocations: 138.3 kB / 1.927 GB, free: 39.95 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/3.818, allocations: 0.9541 MB / 1.928 GB, free: 38.98 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/3.818, allocations: 4 kB / 1.928 GB, free: 38.97 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/3.818, allocations: 0 / 1.928 GB, free: 38.97 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/3.819, allocations: 0.8219 MB / 1.929 GB, free: 38.12 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/3.823, allocations: 2.448 MB / 1.931 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/3.823, allocations: 4 kB / 1.931 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009595/3.824, allocations: 204 kB / 1.932 GB, free: 35.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/3.824, allocations: 7.938 kB / 1.932 GB, free: 35.38 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/3.824, allocations: 15.95 kB / 1.932 GB, free: 35.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/3.824, allocations: 11.98 kB / 1.932 GB, free: 35.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/3.824, allocations: 7.938 kB / 1.932 GB, free: 35.35 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/3.826, allocations: 1.698 MB / 1.933 GB, free: 33.53 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/3.827, allocations: 379 kB / 1.934 GB, free: 33.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/3.827, allocations: 4 kB / 1.934 GB, free: 33.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/3.828, allocations: 119.8 kB / 1.934 GB, free: 33.02 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/3.829, allocations: 76.41 kB / 1.934 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/3.829, allocations: 35.97 kB / 1.934 GB, free: 32.91 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001214/3.83, allocations: 0.86 MB / 1.935 GB, free: 32.05 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/3.83, allocations: 8 kB / 1.935 GB, free: 32.04 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002429/3.832, allocations: 0.83 MB / 1.935 GB, free: 31.21 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.003919/3.836, allocations: 3.623 MB / 1.939 GB, free: 27.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002154/3.839, allocations: 1.373 MB / 1.94 GB, free: 26.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/3.839, allocations: 3.938 kB / 1.94 GB, free: 26.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/3.839, allocations: 467.9 kB / 1.941 GB, free: 25.64 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/3.842, allocations: 0.5794 MB / 1.941 GB, free: 25.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/3.847, allocations: 2.334 MB / 1.944 GB, free: 22.65 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/3.848, allocations: 1.31 MB / 1.945 GB, free: 21.31 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002032/3.85, allocations: 0.4981 MB / 1.945 GB, free: 20.81 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/3.851, allocations: 0.5773 MB / 1.946 GB, free: 20.23 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/3.851, allocations: 4 kB / 1.946 GB, free: 20.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8238/4.674, allocations: 41.51 MB / 1.987 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/4.675, allocations: 185.4 kB / 1.987 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/8.344, allocations: 2.688 kB / 1.987 GB, free: 171.9 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)