Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",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.551/2.551, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001507/0.001507, allocations: 184.8 kB / 360.6 MB, free: 7.285 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.016/2.016, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001107/0.001106, allocations: 89.98 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.871e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9213, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/2.226, allocations: 416.8 MB / 1.37 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/2.226, allocations: 90.08 kB / 1.371 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.626/6.852, allocations: 0.9307 GB / 2.301 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.264e-06/6.852, allocations: 7.875 kB / 2.301 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004325/6.853, allocations: 75.92 kB / 2.301 GB, free: 8.688 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01077/6.863, allocations: 2.936 MB / 2.304 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/6.863, allocations: 8.031 kB / 2.304 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/6.868, allocations: 0.5932 MB / 2.305 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/6.878, allocations: 2.937 MB / 2.308 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/6.878, allocations: 218.7 kB / 2.308 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004845/6.878, allocations: 128 kB / 2.308 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004916/6.883, allocations: 1.792 MB / 2.31 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/6.889, allocations: 2.108 MB / 2.312 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.371e-05/6.89, allocations: 3.906 kB / 2.312 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/6.89, allocations: 8 kB / 2.312 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/6.89, allocations: 67.92 kB / 2.312 GB, free: 13.6 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.0257/6.916, allocations: 11.04 MB / 2.323 GB, free: 2.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/6.919, allocations: 1.192 MB / 2.324 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/6.921, allocations: 0.6495 MB / 2.324 GB, free: 180 kB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9323/7.853, allocations: 1.322 MB / 2.326 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003804/7.857, allocations: 0.9641 MB / 2.327 GB, free: 118.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 9.277e-06/7.857, allocations: 0.5 kB / 2.327 GB, free: 118.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.008036/7.865, allocations: 1.441 MB / 2.328 GB, free: 118.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000321/7.866, allocations: 0.7782 MB / 2.329 GB, free: 117.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008363/7.874, allocations: 1.993 MB / 2.331 GB, free: 117 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006688/7.875, allocations: 31.42 kB / 2.331 GB, free: 117 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/7.878, allocations: 1.347 MB / 2.332 GB, free: 116.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/7.879, allocations: 358.4 kB / 2.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/7.879, allocations: 0 / 2.332 GB, free: 116.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001913/7.879, allocations: 364.3 kB / 2.333 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/7.882, allocations: 0.6105 MB / 2.333 GB, free: 116.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/7.886, allocations: 1.18 MB / 2.335 GB, free: 115.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/7.889, allocations: 0.7478 MB / 2.335 GB, free: 115.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/7.889, allocations: 3.562 kB / 2.335 GB, free: 115.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008168/7.898, allocations: 1.816 MB / 2.337 GB, free: 115.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001396/7.899, allocations: 4.255 MB / 2.341 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.424e-05/7.899, allocations: 10.72 kB / 2.341 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.342e-05/7.899, allocations: 21.55 kB / 2.341 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/7.904, allocations: 398.3 kB / 2.342 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/7.904, allocations: 23.36 kB / 2.342 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/7.911, allocations: 258.9 kB / 2.342 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007044/7.911, allocations: 75.64 kB / 2.342 GB, free: 110.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/7.912, allocations: 4.438 kB / 2.342 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007212/7.919, allocations: 1.545 MB / 2.343 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/7.919, allocations: 8.188 kB / 2.343 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.207e-05/7.919, allocations: 19.97 kB / 2.343 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/7.924, allocations: 389.9 kB / 2.344 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.337e-05/7.924, allocations: 23.61 kB / 2.344 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/7.93, allocations: 226.1 kB / 2.344 GB, free: 110.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006773/7.931, allocations: 67.48 kB / 2.344 GB, free: 110.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * 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.0009071/7.932, allocations: 161.4 kB / 2.344 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007027/7.939, allocations: 1.444 MB / 2.346 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/7.94, allocations: 249.3 kB / 2.346 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00684/7.947, allocations: 1.655 MB / 2.348 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/7.947, allocations: 13.16 kB / 2.348 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/7.947, allocations: 3.969 kB / 2.348 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004235/7.951, allocations: 1.284 MB / 2.349 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/7.968, allocations: 5.132 MB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/7.968, allocations: 9.562 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/7.972, allocations: 260.5 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-05/7.972, allocations: 11.75 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/7.972, allocations: 26.22 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.148e-05/7.972, allocations: 12.39 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/7.972, allocations: 8.312 kB / 2.354 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008709/7.981, allocations: 2.912 MB / 2.357 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003241/7.984, allocations: 0.5933 MB / 2.358 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/7.985, allocations: 9 kB / 2.358 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005062/7.99, allocations: 134.3 kB / 2.358 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006412/7.991, allocations: 108.3 kB / 2.358 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/7.991, allocations: 57.09 kB / 2.358 GB, free: 107.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005139/7.997, allocations: 1.539 MB / 2.359 GB, free: 107 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.743e-06/7.997, allocations: 0 / 2.359 GB, free: 107 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0107/8.007, allocations: 1.508 MB / 2.361 GB, free: 107 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01392/8.021, allocations: 5.793 MB / 2.367 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008848/8.03, allocations: 2.529 MB / 2.369 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/8.03, allocations: 3.984 kB / 2.369 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/8.033, allocations: 0.7279 MB / 2.37 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/8.046, allocations: 1.053 MB / 2.371 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/8.065, allocations: 4.186 MB / 2.375 GB, free: 102.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/8.068, allocations: 1.81 MB / 2.377 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01199/8.08, allocations: 0.896 MB / 2.377 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004006/8.084, allocations: 1.057 MB / 2.378 GB, free: 102.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/8.084, allocations: 3.031 kB / 2.378 GB, free: 102.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/8.316, allocations: 72.85 MB / 2.45 GB, free: 99.02 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/8.316, allocations: 190 kB / 2.45 GB, free: 98.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/14.47, allocations: 6.812 kB / 2.45 GB, free: 98.82 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)