Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001558/0.001558, allocations: 176.9 kB / 377.1 MB, free: 1.531 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.886/1.886, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001174/0.001174, allocations: 92.14 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.742/2.047, allocations: 423.6 MB / 1.402 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/2.047, allocations: 95.19 kB / 1.402 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.978/4.025, allocations: 0.549 GB / 1.951 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.274e-06/4.026, allocations: 4 kB / 1.951 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002755/4.026, allocations: 47.42 kB / 1.951 GB, free: 128.1 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007571/4.033, allocations: 2.083 MB / 1.953 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/4.033, allocations: 12.03 kB / 1.953 GB, free: 126 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007579/4.034, allocations: 181.4 kB / 1.953 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/4.04, allocations: 0.6585 MB / 1.954 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/4.046, allocations: 1.787 MB / 1.956 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/4.046, allocations: 128 kB / 1.956 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/4.046, allocations: 123.9 kB / 1.956 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/4.052, allocations: 1.626 MB / 1.958 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/4.052, allocations: 4 kB / 1.958 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/4.052, allocations: 56.86 kB / 1.958 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/4.052, allocations: 35.94 kB / 1.958 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0054/4.058, allocations: 1.458 MB / 1.959 GB, free: 119.9 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01249/4.07, allocations: 6.811 MB / 1.966 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/4.072, allocations: 0.6945 MB / 1.967 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/4.074, allocations: 1.263 MB / 1.968 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/4.074, allocations: 51.11 kB / 1.968 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.076e-06/4.074, allocations: 0 / 1.968 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.02963/4.103, allocations: 3.816 MB / 1.972 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/4.104, allocations: 111.4 kB / 1.972 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/4.106, allocations: 1.254 MB / 1.973 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/4.107, allocations: 45.7 kB / 1.973 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006296/4.107, allocations: 0.7011 MB / 1.974 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/4.107, allocations: 227 kB / 1.974 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/4.108, allocations: 19.94 kB / 1.974 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001015/4.108, allocations: 337.9 kB / 1.974 GB, free: 104 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/4.11, allocations: 0.4938 MB / 1.975 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/4.112, allocations: 0.7723 MB / 1.975 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/4.114, allocations: 0.5379 MB / 1.976 GB, free: 102 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/4.114, allocations: 3.953 kB / 1.976 GB, free: 102 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01326/4.127, allocations: 2.097 MB / 1.978 GB, free: 99.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007246/4.128, allocations: 2.498 MB / 1.98 GB, free: 97.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/4.128, allocations: 4 kB / 1.98 GB, free: 97.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/4.129, allocations: 488.8 kB / 1.981 GB, free: 96.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/4.131, allocations: 249.9 kB / 1.981 GB, free: 96.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/4.133, allocations: 1.002 MB / 1.982 GB, free: 95.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/4.136, allocations: 274.6 kB / 1.982 GB, free: 95.28 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/4.136, allocations: 59.94 kB / 1.982 GB, free: 95.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/4.136, allocations: 4 kB / 1.982 GB, free: 95.21 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/4.15, allocations: 1.94 MB / 1.984 GB, free: 93.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/4.15, allocations: 4.5 kB / 1.984 GB, free: 93.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/4.152, allocations: 492.7 kB / 1.985 GB, free: 92.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/4.154, allocations: 251.6 kB / 1.985 GB, free: 92.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/4.155, allocations: 0.9997 MB / 1.986 GB, free: 91.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/4.158, allocations: 238.8 kB / 1.986 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/4.158, allocations: 51.95 kB / 1.986 GB, free: 91.24 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001219/4.16, allocations: 452.5 kB / 1.987 GB, free: 90.79 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/4.16, allocations: 146.2 kB / 1.987 GB, free: 90.65 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/4.164, allocations: 1.251 MB / 1.988 GB, free: 89.38 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/4.164, allocations: 12 kB / 1.988 GB, free: 89.37 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/4.164, allocations: 0 / 1.988 GB, free: 89.37 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003528/4.168, allocations: 1.123 MB / 1.989 GB, free: 88.21 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007969/4.176, allocations: 3.008 MB / 1.992 GB, free: 85.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/4.176, allocations: 4 kB / 1.992 GB, free: 85.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/4.177, allocations: 151.8 kB / 1.992 GB, free: 84.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/4.179, allocations: 486.6 kB / 1.993 GB, free: 84.47 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/4.179, allocations: 31.97 kB / 1.993 GB, free: 84.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/4.18, allocations: 0.9894 MB / 1.994 GB, free: 83.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/4.18, allocations: 7.938 kB / 1.994 GB, free: 83.42 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/4.186, allocations: 2.167 MB / 1.996 GB, free: 81.02 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/4.188, allocations: 394.9 kB / 1.996 GB, free: 80.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/4.188, allocations: 20 kB / 1.996 GB, free: 80.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/4.19, allocations: 147.7 kB / 1.996 GB, free: 80.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/4.19, allocations: 52.31 kB / 1.996 GB, free: 80.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/4.19, allocations: 51.94 kB / 1.996 GB, free: 80.35 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001737/4.192, allocations: 1.005 MB / 1.997 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.6e-07/4.192, allocations: 0 / 1.997 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003431/4.195, allocations: 0.9787 MB / 1.998 GB, free: 78.36 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.008057/4.203, allocations: 4.544 MB / 2.003 GB, free: 73.76 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006949/4.21, allocations: 1.775 MB / 2.005 GB, free: 72 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/4.21, allocations: 8.062 kB / 2.005 GB, free: 71.99 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/4.212, allocations: 0.5174 MB / 2.005 GB, free: 71.47 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/4.217, allocations: 0.7842 MB / 2.006 GB, free: 70.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/4.244, allocations: 13.62 MB / 2.019 GB, free: 56.58 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/4.245, allocations: 1.238 MB / 2.02 GB, free: 55.31 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002334/4.247, allocations: 372.1 kB / 2.021 GB, free: 54.95 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/4.248, allocations: 0.5773 MB / 2.021 GB, free: 54.37 MB / 0.9323 GB Notification: Performance of SimCode: time 1.018e-05/4.248, allocations: 0 / 2.021 GB, free: 54.37 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09671/4.345, allocations: 54.97 MB / 2.075 GB, free: 15.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/4.345, allocations: 284.5 kB / 2.075 GB, free: 15.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.339/8.684, allocations: 0 / 2.075 GB, free: 15.43 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)