Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4355/0.4355, allocations: 86.28 MB / 103.8 MB, free: 14.55 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.32/1.32, allocations: 223.3 MB / 348.4 MB, free: 4.941 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.0008022/0.0008022, allocations: 96.77 kB / 420.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004019, allocations: 12 kB / 0.4901 GB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 71.02 MB / 0.5595 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.152, allocations: 384.6 MB / 0.935 GB, free: 232.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.152, allocations: 95.27 kB / 0.9351 GB, free: 232.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.542/2.694, allocations: 0.5502 GB / 1.485 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/2.694, allocations: 0 / 1.485 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001617/2.694, allocations: 46.81 kB / 1.485 GB, free: 88.83 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004383/2.699, allocations: 2.09 MB / 1.487 GB, free: 87.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/2.699, allocations: 12.72 kB / 1.487 GB, free: 87.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/2.703, allocations: 0.6152 MB / 1.488 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/2.706, allocations: 1.764 MB / 1.49 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/2.706, allocations: 130 kB / 1.49 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/2.706, allocations: 117.2 kB / 1.49 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/2.709, allocations: 1.625 MB / 1.492 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/2.71, allocations: 10.5 kB / 1.492 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/2.71, allocations: 50.97 kB / 1.492 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/2.71, allocations: 40.73 kB / 1.492 GB, free: 87.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003745/2.713, allocations: 1.43 MB / 1.493 GB, free: 87.02 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.008341/2.722, allocations: 6.967 MB / 1.5 GB, free: 83.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/2.724, allocations: 0.7319 MB / 1.501 GB, free: 83.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/2.725, allocations: 477.4 kB / 1.501 GB, free: 83.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009424/2.726, allocations: 1.27 MB / 1.502 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/2.726, allocations: 44.25 kB / 1.502 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 4.539e-06/2.726, allocations: 0 / 1.502 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.00983/2.736, allocations: 2.415 MB / 1.505 GB, free: 82.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/2.736, allocations: 110.6 kB / 1.505 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/2.738, allocations: 1.38 MB / 1.506 GB, free: 81.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/2.738, allocations: 40.27 kB / 1.506 GB, free: 81.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/2.738, allocations: 0.6991 MB / 1.507 GB, free: 81.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/2.738, allocations: 218.2 kB / 1.507 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/2.739, allocations: 17.19 kB / 1.507 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.028e-05/2.739, allocations: 338.3 kB / 1.507 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/2.74, allocations: 473.8 kB / 1.508 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/2.742, allocations: 0.759 MB / 1.509 GB, free: 80.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/2.745, allocations: 1.071 MB / 1.51 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.745, allocations: 1.406 kB / 1.51 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003859/2.748, allocations: 1.482 MB / 1.511 GB, free: 80.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/2.749, allocations: 271.4 kB / 1.511 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.749, allocations: 7.875 kB / 1.511 GB, free: 80.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/2.75, allocations: 463.5 kB / 1.512 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/2.752, allocations: 248.7 kB / 1.512 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/2.753, allocations: 1.067 MB / 1.513 GB, free: 79.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/2.755, allocations: 269.5 kB / 1.513 GB, free: 79.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.6e-05/2.755, allocations: 55.14 kB / 1.513 GB, free: 79.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/2.755, allocations: 9.844 kB / 1.513 GB, free: 79.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003597/2.759, allocations: 1.311 MB / 1.515 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/2.759, allocations: 7.344 kB / 1.515 GB, free: 79.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/2.76, allocations: 462.8 kB / 1.515 GB, free: 79.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/2.761, allocations: 247 kB / 1.515 GB, free: 79.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/2.762, allocations: 1.07 MB / 1.516 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/2.764, allocations: 226.9 kB / 1.517 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/2.764, allocations: 60.5 kB / 1.517 GB, free: 78.84 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: 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 (74): * Single equations (assignments): 73 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0008929/2.765, allocations: 453 kB / 1.517 GB, free: 78.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/2.765, allocations: 141.2 kB / 1.517 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/2.769, allocations: 1.225 MB / 1.518 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/2.769, allocations: 7.531 kB / 1.518 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/2.769, allocations: 6.531 kB / 1.518 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002738/2.771, allocations: 1.096 MB / 1.519 GB, free: 78.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/2.778, allocations: 3.29 MB / 1.523 GB, free: 77.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/2.778, allocations: 7.625 kB / 1.523 GB, free: 77.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/2.779, allocations: 148.7 kB / 1.523 GB, free: 77.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/2.78, allocations: 439.1 kB / 1.523 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/2.78, allocations: 28.53 kB / 1.523 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/2.781, allocations: 1.053 MB / 1.524 GB, free: 76.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.781, allocations: 5.875 kB / 1.524 GB, free: 76.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/2.784, allocations: 1.36 MB / 1.526 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/2.785, allocations: 382 kB / 1.526 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/2.785, allocations: 14.69 kB / 1.526 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/2.787, allocations: 141.6 kB / 1.526 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/2.787, allocations: 52.59 kB / 1.526 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/2.787, allocations: 47.44 kB / 1.526 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001452/2.788, allocations: 0.9528 MB / 1.527 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/2.788, allocations: 0 / 1.527 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002483/2.791, allocations: 0.9386 MB / 1.528 GB, free: 76.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/2.792, allocations: 0.8218 MB / 1.529 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00493/2.797, allocations: 1.739 MB / 1.531 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/2.797, allocations: 0 / 1.531 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/2.799, allocations: 0.5181 MB / 1.531 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/2.803, allocations: 0.8074 MB / 1.532 GB, free: 75.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/2.807, allocations: 2.968 MB / 1.535 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/2.808, allocations: 1.209 MB / 1.536 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001657/2.81, allocations: 328.6 kB / 1.536 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/2.81, allocations: 125 kB / 1.536 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/2.81, allocations: 0 / 1.536 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.05318/2.863, allocations: 40.03 MB / 1.576 GB, free: 56.93 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)