Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6123/0.6123, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.0008938, allocations: 115 kB / 427.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 8 kB / 0.4982 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 72.32 MB / 0.5689 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.206, allocations: 387.6 MB / 0.9474 GB, free: 79.87 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.206, allocations: 95.27 kB / 0.9475 GB, free: 79.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.344/3.55, allocations: 0.5623 GB / 1.51 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/3.55, allocations: 0 / 1.51 GB, free: 70.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001849/3.551, allocations: 48.05 kB / 1.51 GB, free: 70.18 MB / 0.6042 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.006005/3.557, allocations: 2.172 MB / 1.512 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/3.557, allocations: 9.438 kB / 1.512 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/3.562, allocations: 0.6153 MB / 1.513 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/3.566, allocations: 1.81 MB / 1.514 GB, free: 69.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/3.567, allocations: 128.6 kB / 1.514 GB, free: 68.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/3.567, allocations: 119.6 kB / 1.515 GB, free: 68.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/3.571, allocations: 1.635 MB / 1.516 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/3.571, allocations: 6.734 kB / 1.516 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/3.571, allocations: 50.16 kB / 1.516 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.084e-05/3.571, allocations: 53.66 kB / 1.516 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/3.576, allocations: 1.464 MB / 1.518 GB, free: 68.7 MB / 0.6042 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.01089/3.587, allocations: 6.771 MB / 1.524 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/3.589, allocations: 0.7285 MB / 1.525 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/3.59, allocations: 1.262 MB / 1.526 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/3.592, allocations: 0.6721 MB / 1.527 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 4.639e-06/3.592, allocations: 2.812 kB / 1.527 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.01147/3.604, allocations: 2.301 MB / 1.529 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/3.604, allocations: 491 kB / 1.53 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/3.607, allocations: 1.281 MB / 1.531 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/3.607, allocations: 43.75 kB / 1.531 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/3.607, allocations: 0.7141 MB / 1.532 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/3.608, allocations: 235.3 kB / 1.532 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/3.608, allocations: 17.56 kB / 1.532 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001098/3.608, allocations: 340.1 kB / 1.532 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/3.61, allocations: 0.4971 MB / 1.533 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/3.612, allocations: 0.8142 MB / 1.533 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/3.614, allocations: 0.5804 MB / 1.534 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/3.614, allocations: 3.734 kB / 1.534 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006714/3.621, allocations: 1.638 MB / 1.536 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006149/3.621, allocations: 2.524 MB / 1.538 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/3.621, allocations: 10.41 kB / 1.538 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/3.623, allocations: 368.1 kB / 1.538 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/3.625, allocations: 263.8 kB / 1.539 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/3.626, allocations: 0.8984 MB / 1.54 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/3.629, allocations: 282.2 kB / 1.54 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/3.629, allocations: 59.81 kB / 1.54 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/3.629, allocations: 3.375 kB / 1.54 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006286/3.635, allocations: 1.493 MB / 1.541 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/3.635, allocations: 5.781 kB / 1.541 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/3.637, allocations: 369.3 kB / 1.542 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/3.638, allocations: 267.5 kB / 1.542 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/3.639, allocations: 0.8983 MB / 1.543 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/3.642, allocations: 247.2 kB / 1.543 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/3.642, allocations: 62.47 kB / 1.543 GB, free: 58.29 MB / 0.6042 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.001218/3.643, allocations: 458.2 kB / 1.544 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/3.644, allocations: 148.2 kB / 1.544 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/3.649, allocations: 1.26 MB / 1.545 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/3.649, allocations: 11.66 kB / 1.545 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/3.649, allocations: 3.375 kB / 1.545 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004502/3.654, allocations: 1.13 MB / 1.546 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009211/3.663, allocations: 3.602 MB / 1.55 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/3.663, allocations: 7 kB / 1.55 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/3.664, allocations: 163.1 kB / 1.55 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/3.665, allocations: 362.1 kB / 1.55 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/3.665, allocations: 27.94 kB / 1.55 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/3.666, allocations: 0.8975 MB / 1.551 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/3.666, allocations: 3.312 kB / 1.551 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/3.673, allocations: 2.283 MB / 1.553 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/3.674, allocations: 388.6 kB / 1.554 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006863/3.675, allocations: 25.5 kB / 1.554 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/3.677, allocations: 152.1 kB / 1.554 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/3.678, allocations: 67.38 kB / 1.554 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/3.678, allocations: 38.05 kB / 1.554 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00234/3.68, allocations: 1.022 MB / 1.555 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/3.68, allocations: 0 / 1.555 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004839/3.685, allocations: 0.9999 MB / 1.556 GB, free: 54.9 MB / 0.6042 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.003204/3.688, allocations: 0.8926 MB / 1.557 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007121/3.695, allocations: 1.93 MB / 1.559 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/3.695, allocations: 2.688 kB / 1.559 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/3.697, allocations: 0.5543 MB / 1.559 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/3.702, allocations: 0.7854 MB / 1.56 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/3.711, allocations: 3.156 MB / 1.563 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/3.712, allocations: 1.246 MB / 1.564 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002718/3.715, allocations: 373.4 kB / 1.565 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/3.715, allocations: 136.9 kB / 1.565 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.084e-06/3.715, allocations: 3.281 kB / 1.565 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.06442/3.78, allocations: 39.68 MB / 1.604 GB, free: 50.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)