Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.531/2.531, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001427/0.001427, allocations: 180.9 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.074/2.074, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001099/0.001098, allocations: 93.88 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.944e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8125, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/2.121, allocations: 422.9 MB / 1.376 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/2.121, allocations: 91.38 kB / 1.376 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.902/8.023, allocations: 1.036 GB / 2.413 GB, free: 103 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/8.023, allocations: 0 / 2.413 GB, free: 103 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005208/8.024, allocations: 83.55 kB / 2.413 GB, free: 103 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01166/8.035, allocations: 3.185 MB / 2.416 GB, free: 101.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/8.035, allocations: 8.875 kB / 2.416 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/8.052, allocations: 1.214 MB / 2.417 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/8.063, allocations: 3.294 MB / 2.42 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/8.063, allocations: 170.7 kB / 2.421 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009015/8.064, allocations: 135.8 kB / 2.421 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007149/8.072, allocations: 1.971 MB / 2.423 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008893/8.081, allocations: 2.452 MB / 2.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/8.081, allocations: 9.75 kB / 2.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005551/8.081, allocations: 6.906 kB / 2.425 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/8.081, allocations: 72.53 kB / 2.425 GB, free: 100.4 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.03311/8.114, allocations: 12.63 MB / 2.437 GB, free: 94.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/8.117, allocations: 1.128 MB / 2.439 GB, free: 94.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/8.119, allocations: 0.5972 MB / 2.439 GB, free: 94.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/8.122, allocations: 1.78 MB / 2.441 GB, free: 92.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/8.124, allocations: 0.9158 MB / 2.442 GB, free: 92.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 7.134e-06/8.124, allocations: 0 / 2.442 GB, free: 92.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.01276/8.137, allocations: 1.833 MB / 2.444 GB, free: 92.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002764/8.138, allocations: 0.9442 MB / 2.445 GB, free: 91.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/8.143, allocations: 1.845 MB / 2.446 GB, free: 90.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005554/8.143, allocations: 37.27 kB / 2.446 GB, free: 90.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/8.145, allocations: 1.381 MB / 2.448 GB, free: 90.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/8.146, allocations: 397.5 kB / 2.448 GB, free: 90.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/8.146, allocations: 0 / 2.448 GB, free: 90.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001578/8.147, allocations: 364.5 kB / 2.448 GB, free: 89.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/8.148, allocations: 0.5963 MB / 2.449 GB, free: 89.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/8.151, allocations: 1.191 MB / 2.45 GB, free: 89.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/8.157, allocations: 0.9704 MB / 2.451 GB, free: 89.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/8.157, allocations: 3.062 kB / 2.451 GB, free: 89.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01109/8.168, allocations: 2.27 MB / 2.453 GB, free: 88.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001172/8.169, allocations: 4.935 MB / 2.458 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-05/8.17, allocations: 11.62 kB / 2.458 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/8.172, allocations: 0.5317 MB / 2.459 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/8.177, allocations: 0.489 MB / 2.459 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/8.18, allocations: 1.787 MB / 2.461 GB, free: 82.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008813/8.189, allocations: 451.1 kB / 2.461 GB, free: 82.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006455/8.19, allocations: 110 kB / 2.461 GB, free: 82.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/8.19, allocations: 3.594 kB / 2.461 GB, free: 82.41 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009625/8.199, allocations: 1.992 MB / 2.463 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/8.2, allocations: 12.16 kB / 2.463 GB, free: 82.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/8.201, allocations: 0.528 MB / 2.464 GB, free: 82.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005149/8.207, allocations: 487.8 kB / 2.464 GB, free: 82.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/8.21, allocations: 1.788 MB / 2.466 GB, free: 81.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007779/8.218, allocations: 352.2 kB / 2.466 GB, free: 81.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/8.218, allocations: 106.2 kB / 2.467 GB, free: 81.22 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008672/8.219, allocations: 163.2 kB / 2.467 GB, free: 81.11 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01195/8.231, allocations: 1.847 MB / 2.469 GB, free: 80.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/8.233, allocations: 250.1 kB / 2.469 GB, free: 80.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/8.244, allocations: 1.838 MB / 2.471 GB, free: 80.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/8.245, allocations: 15.25 kB / 2.471 GB, free: 80.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/8.245, allocations: 8.797 kB / 2.471 GB, free: 80.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01047/8.255, allocations: 1.677 MB / 2.472 GB, free: 80.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/8.276, allocations: 6.237 MB / 2.478 GB, free: 78.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/8.276, allocations: 9.656 kB / 2.478 GB, free: 78.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/8.28, allocations: 290.6 kB / 2.479 GB, free: 78.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001901/8.282, allocations: 0.5204 MB / 2.479 GB, free: 78.39 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/8.282, allocations: 35.92 kB / 2.479 GB, free: 78.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/8.285, allocations: 1.771 MB / 2.481 GB, free: 77.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/8.285, allocations: 10.59 kB / 2.481 GB, free: 77.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/8.297, allocations: 3.297 MB / 2.484 GB, free: 76.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/8.3, allocations: 0.6185 MB / 2.485 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/8.301, allocations: 14.12 kB / 2.485 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006565/8.307, allocations: 253.7 kB / 2.485 GB, free: 75.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/8.308, allocations: 117.9 kB / 2.485 GB, free: 75.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/8.308, allocations: 71.14 kB / 2.485 GB, free: 75.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00336/8.312, allocations: 1.38 MB / 2.486 GB, free: 75.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/8.312, allocations: 0 / 2.486 GB, free: 75.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01001/8.322, allocations: 1.815 MB / 2.488 GB, free: 75.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01657/8.338, allocations: 6.952 MB / 2.495 GB, free: 71.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007817/8.346, allocations: 2.55 MB / 2.498 GB, free: 71.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/8.346, allocations: 4.281 kB / 2.498 GB, free: 71.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/8.349, allocations: 0.7449 MB / 2.498 GB, free: 71.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009632/8.358, allocations: 1.093 MB / 2.499 GB, free: 71.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/8.379, allocations: 4.486 MB / 2.504 GB, free: 70.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/8.381, allocations: 1.769 MB / 2.505 GB, free: 69.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007542/8.389, allocations: 0.763 MB / 2.506 GB, free: 69.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/8.391, allocations: 1.095 MB / 2.507 GB, free: 69.26 MB / 0.948 GB Notification: Performance of SimCode: time 1.522e-06/8.391, allocations: 0 / 2.507 GB, free: 69.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/8.604, allocations: 85.2 MB / 2.59 GB, free: 61.68 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/8.604, allocations: 198.8 kB / 2.591 GB, free: 61.42 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/15.46, allocations: 8.031 kB / 2.591 GB, free: 61.41 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)