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.001003/0.001004, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9973/0.9973, allocations: 135.3 MB / 426.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3446/0.491, allocations: 64.46 MB / 0.6503 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.5079, allocations: 13.53 MB / 0.6635 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.5108, allocations: 60.5 kB / 0.6636 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.5129, allocations: 0.6491 MB / 0.6642 GB, free: 4.496 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006002/0.5189, allocations: 2.003 MB / 0.6662 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.5231, allocations: 1.409 MB / 0.6676 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007244/0.5304, allocations: 5.05 MB / 0.6725 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.533, allocations: 1.152 MB / 0.6736 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.5367, allocations: 1.377 MB / 0.675 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.5398, allocations: 1.119 MB / 0.6761 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004619/0.5403, allocations: 67.03 kB / 0.6761 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.5453, allocations: 1.433 MB / 0.6775 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005298/0.5459, allocations: 316 kB / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.5469, allocations: 393 kB / 0.6782 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006056/0.553, allocations: 2.578 MB / 0.6807 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.5531, allocations: 0 / 0.6807 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.478e-06/0.5531, allocations: 1.25 kB / 0.6807 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001087/0.5532, allocations: 3.938 kB / 0.6807 GB, free: 13.62 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.006689/0.5599, allocations: 1.957 MB / 0.6826 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.56, allocations: 9.5 kB / 0.6826 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.5653, allocations: 0.6942 MB / 0.6833 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.5695, allocations: 1.498 MB / 0.6848 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.5697, allocations: 131.1 kB / 0.6849 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.5701, allocations: 119.8 kB / 0.685 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005097/0.5752, allocations: 1.641 MB / 0.6866 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.5752, allocations: 1 kB / 0.6866 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.5754, allocations: 50.16 kB / 0.6867 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.5755, allocations: 36.89 kB / 0.6867 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005134/0.5806, allocations: 1.468 MB / 0.6881 GB, free: 9.914 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.0132/0.5939, allocations: 7.191 MB / 0.6952 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.5961, allocations: 0.8235 MB / 0.696 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.5976, allocations: 0.5017 MB / 0.6965 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.599, allocations: 1.274 MB / 0.6977 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.5991, allocations: 40.81 kB / 0.6977 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.665e-06/0.5991, allocations: 0 / 0.6977 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.00919/0.6083, allocations: 2.211 MB / 0.6999 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.6084, allocations: 114.7 kB / 0.7 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.6108, allocations: 1.361 MB / 0.7013 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/0.6111, allocations: 44.36 kB / 0.7014 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/0.6118, allocations: 0.6799 MB / 0.702 GB, free: 108 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.6121, allocations: 247.1 kB / 0.7023 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.6122, allocations: 15.5 kB / 0.7023 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6124, allocations: 333.1 kB / 0.7026 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.6141, allocations: 0.4931 MB / 0.7031 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.6161, allocations: 0.7662 MB / 0.7038 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.6179, allocations: 0.5507 MB / 0.7044 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.6179, allocations: 5.203 kB / 0.7044 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004806/0.6227, allocations: 1.542 MB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.6229, allocations: 282.1 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6229, allocations: 6.938 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.6246, allocations: 465 kB / 0.7066 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.626, allocations: 257.5 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.6277, allocations: 1.075 MB / 0.7079 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/0.6309, allocations: 271.3 kB / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.6311, allocations: 57.23 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6311, allocations: 2.656 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/0.6354, allocations: 1.4 MB / 0.7096 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.6355, allocations: 5.5 kB / 0.7096 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.637, allocations: 459.4 kB / 0.71 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.6383, allocations: 260.8 kB / 0.7103 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.6401, allocations: 1.076 MB / 0.7113 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.6428, allocations: 241.5 kB / 0.7116 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.643, allocations: 59.53 kB / 0.7116 GB, free: 10.19 MB / 0.5294 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 (82): * Single equations (assignments): 81 * 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.001345/0.6443, allocations: 449.7 kB / 0.712 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.6448, allocations: 148.9 kB / 0.7122 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.6487, allocations: 1.324 MB / 0.7135 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6487, allocations: 6.719 kB / 0.7135 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6487, allocations: 0 / 0.7135 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/0.6518, allocations: 1.138 MB / 0.7146 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008071/0.6599, allocations: 3.426 MB / 0.7179 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.6599, allocations: 4 kB / 0.7179 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.6608, allocations: 160 kB / 0.7181 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.6622, allocations: 450.1 kB / 0.7185 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.6623, allocations: 23.98 kB / 0.7185 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6638, allocations: 1.075 MB / 0.7196 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6638, allocations: 4 kB / 0.7196 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.6681, allocations: 1.393 MB / 0.721 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.6696, allocations: 390.9 kB / 0.7213 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/0.6701, allocations: 16.12 kB / 0.7214 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.672, allocations: 164.4 kB / 0.7215 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6722, allocations: 52.31 kB / 0.7216 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6723, allocations: 47.94 kB / 0.7216 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002089/0.6744, allocations: 0.9537 MB / 0.7225 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6744, allocations: 0 / 0.7225 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003608/0.678, allocations: 0.8812 MB / 0.7234 GB, free: 15.89 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 (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.001447/0.6795, allocations: 0.5216 MB / 0.7239 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006433/0.6859, allocations: 1.84 MB / 0.7257 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.686, allocations: 0 / 0.7257 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.6878, allocations: 0.5371 MB / 0.7262 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.6918, allocations: 0.782 MB / 0.727 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.6977, allocations: 2.997 MB / 0.7299 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.6987, allocations: 1.215 MB / 0.7311 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001816/0.7005, allocations: 335.1 kB / 0.7314 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.7009, allocations: 123.4 kB / 0.7315 GB, free: 7.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.364e-06/0.7009, allocations: 0 / 0.7315 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Templates: time 0.06092/0.7618, allocations: 35.72 MB / 0.7664 GB, free: 4.16 MB / 0.5762 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)