Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.758/1.758, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.00143/0.00143, allocations: 185 kB / 377.1 MB, free: 1.512 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.86/1.86, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.001247/0.001247, allocations: 90.27 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004103, allocations: 15.98 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3268, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/2.095, allocations: 423.8 MB / 1.402 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/2.096, allocations: 100.9 kB / 1.402 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.886/3.982, allocations: 0.5494 GB / 1.952 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.333e-06/3.982, allocations: 0 / 1.952 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002777/3.982, allocations: 47.84 kB / 1.952 GB, free: 127.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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006986/3.989, allocations: 2.158 MB / 1.954 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/3.989, allocations: 12.03 kB / 1.954 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007087/3.99, allocations: 180.1 kB / 1.954 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/3.994, allocations: 0.6155 MB / 1.955 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/3.999, allocations: 1.792 MB / 1.956 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/4, allocations: 129.6 kB / 1.957 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/4, allocations: 124 kB / 1.957 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/4.005, allocations: 1.63 MB / 1.958 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/4.005, allocations: 7.938 kB / 1.958 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/4.005, allocations: 48.86 kB / 1.958 GB, free: 120.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/4.005, allocations: 40 kB / 1.958 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/4.01, allocations: 1.458 MB / 1.96 GB, free: 119.2 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.01243/4.022, allocations: 6.786 MB / 1.966 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/4.025, allocations: 0.7215 MB / 1.967 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/4.026, allocations: 1.271 MB / 1.968 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/4.028, allocations: 0.6724 MB / 1.969 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=65): time 4.959e-06/4.028, allocations: 0 / 1.969 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=65): time 0.01122/4.039, allocations: 2.31 MB / 1.971 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/4.04, allocations: 483.1 kB / 1.972 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/4.043, allocations: 1.283 MB / 1.973 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/4.043, allocations: 45.7 kB / 1.973 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/4.044, allocations: 0.7107 MB / 1.974 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000408/4.045, allocations: 230.8 kB / 1.974 GB, free: 104 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/4.045, allocations: 12 kB / 1.974 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001641/4.045, allocations: 341.9 kB / 1.974 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/4.047, allocations: 0.5016 MB / 1.975 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/4.049, allocations: 0.8128 MB / 1.976 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/4.051, allocations: 0.573 MB / 1.976 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/4.052, allocations: 4 kB / 1.976 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006883/4.058, allocations: 1.645 MB / 1.978 GB, free: 99.92 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006023/4.059, allocations: 2.521 MB / 1.98 GB, free: 97.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/4.059, allocations: 7.984 kB / 1.98 GB, free: 97.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/4.06, allocations: 362.7 kB / 1.981 GB, free: 96.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/4.062, allocations: 267.3 kB / 1.981 GB, free: 96.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/4.063, allocations: 0.9049 MB / 1.982 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/4.066, allocations: 294.4 kB / 1.982 GB, free: 95.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/4.066, allocations: 59.94 kB / 1.982 GB, free: 95.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/4.066, allocations: 4 kB / 1.982 GB, free: 95.35 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00585/4.072, allocations: 1.481 MB / 1.983 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/4.072, allocations: 8 kB / 1.983 GB, free: 93.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/4.074, allocations: 369.4 kB / 1.984 GB, free: 93.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/4.075, allocations: 269 kB / 1.984 GB, free: 93.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009841/4.076, allocations: 0.8962 MB / 1.985 GB, free: 92.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/4.079, allocations: 254.7 kB / 1.985 GB, free: 92.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/4.079, allocations: 59.94 kB / 1.985 GB, free: 92 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.001253/4.08, allocations: 454.2 kB / 1.986 GB, free: 91.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/4.081, allocations: 150.3 kB / 1.986 GB, free: 91.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005113/4.086, allocations: 1.259 MB / 1.987 GB, free: 90.12 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/4.086, allocations: 8 kB / 1.987 GB, free: 90.12 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/4.086, allocations: 4 kB / 1.987 GB, free: 90.11 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00419/4.09, allocations: 1.131 MB / 1.988 GB, free: 88.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008838/4.099, allocations: 3.588 MB / 1.992 GB, free: 85.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/4.099, allocations: 7.375 kB / 1.992 GB, free: 85.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/4.1, allocations: 164.1 kB / 1.992 GB, free: 85.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/4.101, allocations: 380 kB / 1.992 GB, free: 84.71 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/4.102, allocations: 23.97 kB / 1.992 GB, free: 84.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009704/4.103, allocations: 0.8954 MB / 1.993 GB, free: 83.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/4.103, allocations: 7.938 kB / 1.993 GB, free: 83.76 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/4.109, allocations: 2.275 MB / 1.995 GB, free: 81.26 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/4.111, allocations: 394.9 kB / 1.996 GB, free: 80.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/4.111, allocations: 23.98 kB / 1.996 GB, free: 80.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/4.114, allocations: 155.8 kB / 1.996 GB, free: 80.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/4.114, allocations: 68.23 kB / 1.996 GB, free: 80.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/4.114, allocations: 35.95 kB / 1.996 GB, free: 80.58 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002222/4.116, allocations: 1.021 MB / 1.997 GB, free: 79.56 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/4.116, allocations: 4 kB / 1.997 GB, free: 79.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004602/4.121, allocations: 0.9903 MB / 1.998 GB, free: 78.56 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.009149/4.13, allocations: 4.589 MB / 2.002 GB, free: 73.92 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006573/4.137, allocations: 1.929 MB / 2.004 GB, free: 71.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/4.137, allocations: 0 / 2.004 GB, free: 71.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001949/4.139, allocations: 0.5603 MB / 2.005 GB, free: 71.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/4.143, allocations: 0.794 MB / 2.006 GB, free: 70.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/4.171, allocations: 13.72 MB / 2.019 GB, free: 56.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/4.172, allocations: 1.242 MB / 2.02 GB, free: 55.14 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002636/4.175, allocations: 386.3 kB / 2.021 GB, free: 54.77 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/4.176, allocations: 0.5734 MB / 2.021 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of SimCode: time 1.322e-06/4.176, allocations: 0 / 2.021 GB, free: 54.19 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09415/4.27, allocations: 55.03 MB / 2.075 GB, free: 15.59 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/4.271, allocations: 268.2 kB / 2.075 GB, free: 15.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/8.392, allocations: 0 / 2.075 GB, free: 15.24 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)