Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 195.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9879/0.9879, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.58 kB / 0.5053 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 80.91 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3153/0.4656, allocations: 69.9 MB / 0.6526 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.4821, allocations: 14.45 MB / 0.6667 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.485, allocations: 69.47 kB / 0.6668 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.4876, allocations: 0.9232 MB / 0.6677 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007408/0.4951, allocations: 2.546 MB / 0.6702 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.5004, allocations: 1.963 MB / 0.6721 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006917/0.5073, allocations: 4.62 MB / 0.6766 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.51, allocations: 1.607 MB / 0.6782 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/0.5144, allocations: 1.761 MB / 0.6799 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.5168, allocations: 1.27 MB / 0.6811 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.5173, allocations: 194.1 kB / 0.6813 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.522, allocations: 1.915 MB / 0.6832 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005946/0.5227, allocations: 469.2 kB / 0.6836 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.5242, allocations: 1.015 MB / 0.6846 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006479/0.5307, allocations: 3.479 MB / 0.688 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5308, allocations: 0 / 0.688 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5308, allocations: 0 / 0.688 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.733e-05/0.5308, allocations: 1.438 kB / 0.688 GB, free: 5.789 MB / 0.5137 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.004968/0.5358, allocations: 2.305 MB / 0.6903 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.5358, allocations: 9.25 kB / 0.6903 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.5412, allocations: 0.6453 MB / 0.6909 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.5441, allocations: 1.517 MB / 0.6924 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.5442, allocations: 131.1 kB / 0.6925 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.5444, allocations: 115.1 kB / 0.6926 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.5485, allocations: 1.623 MB / 0.6942 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5485, allocations: 1.031 kB / 0.6942 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.5487, allocations: 50.31 kB / 0.6943 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/0.5488, allocations: 40.2 kB / 0.6943 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/0.5538, allocations: 1.42 MB / 0.6957 GB, free: 1.844 MB / 0.5137 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.0111/0.5649, allocations: 7.22 MB / 0.7028 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.5674, allocations: 0.7923 MB / 0.7035 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.569, allocations: 487.7 kB / 0.704 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.5704, allocations: 1.262 MB / 0.7052 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.5704, allocations: 48.66 kB / 0.7053 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.875e-06/0.5704, allocations: 0 / 0.7053 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009823/0.5802, allocations: 2.119 MB / 0.7073 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.5803, allocations: 114 kB / 0.7075 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.5826, allocations: 1.376 MB / 0.7088 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.5828, allocations: 43.7 kB / 0.7088 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.5834, allocations: 0.6878 MB / 0.7095 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.5837, allocations: 234.9 kB / 0.7097 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.584, allocations: 227.6 kB / 0.7099 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5842, allocations: 341.5 kB / 0.7103 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.586, allocations: 490.9 kB / 0.7107 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.588, allocations: 0.7388 MB / 0.7115 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.5914, allocations: 1.095 MB / 0.7125 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5914, allocations: 2.812 kB / 0.7125 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004897/0.5963, allocations: 1.51 MB / 0.714 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5964, allocations: 12.19 kB / 0.714 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5964, allocations: 5.5 kB / 0.714 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.598, allocations: 455.2 kB / 0.7145 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.5993, allocations: 243.7 kB / 0.7147 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.6008, allocations: 1.06 MB / 0.7157 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.6035, allocations: 216.9 kB / 0.7159 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.6036, allocations: 59.66 kB / 0.716 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002322/0.6059, allocations: 0.7702 MB / 0.7167 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001981/0.6079, allocations: 0.7373 MB / 0.7175 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003343/0.6113, allocations: 1.089 MB / 0.7185 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.6113, allocations: 3.938 kB / 0.7185 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004818/0.6161, allocations: 1.494 MB / 0.72 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6162, allocations: 8 kB / 0.72 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.6162, allocations: 8.562 kB / 0.72 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.6176, allocations: 456.2 kB / 0.7204 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6189, allocations: 247.8 kB / 0.7207 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.6205, allocations: 1.06 MB / 0.7217 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.623, allocations: 191.2 kB / 0.7219 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.6231, allocations: 53.59 kB / 0.7219 GB, free: 14.81 MB / 0.545 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 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.6236, allocations: 240 kB / 0.7222 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/0.624, allocations: 146.2 kB / 0.7223 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.6282, allocations: 1.276 MB / 0.7236 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.6282, allocations: 8 kB / 0.7236 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6282, allocations: 3.984 kB / 0.7236 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003353/0.6316, allocations: 1.088 MB / 0.7246 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008516/0.6401, allocations: 3.377 MB / 0.7279 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.6401, allocations: 4 kB / 0.7279 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009315/0.6411, allocations: 151.9 kB / 0.7281 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.6427, allocations: 448 kB / 0.7285 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.6428, allocations: 27.91 kB / 0.7285 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.6445, allocations: 1.056 MB / 0.7296 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6445, allocations: 7.938 kB / 0.7296 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.6489, allocations: 1.35 MB / 0.7309 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.65, allocations: 351.1 kB / 0.7312 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/0.6506, allocations: 16 kB / 0.7312 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.6527, allocations: 119.8 kB / 0.7314 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6529, allocations: 56.25 kB / 0.7314 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.6531, allocations: 47.95 kB / 0.7315 GB, free: 4.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002097/0.6552, allocations: 0.9771 MB / 0.7324 GB, free: 3.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6552, allocations: 0 / 0.7324 GB, free: 3.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004197/0.6594, allocations: 0.8889 MB / 0.7333 GB, free: 2.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/0.6611, allocations: 0.5493 MB / 0.7338 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006325/0.6675, allocations: 1.816 MB / 0.7356 GB, free: 480 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.6675, allocations: 448 / 0.7356 GB, free: 480 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.6693, allocations: 0.5212 MB / 0.7361 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/0.6734, allocations: 0.8245 MB / 0.7369 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.6787, allocations: 2.551 MB / 0.7394 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.6795, allocations: 1.207 MB / 0.7406 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001703/0.6812, allocations: 348.9 kB / 0.7409 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.6815, allocations: 123.3 kB / 0.741 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.6815, allocations: 0 / 0.741 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.06211/0.7436, allocations: 38.81 MB / 0.7789 GB, free: 4.449 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)