Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005825/0.005825, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001288/0.001289, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.05 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07201/0.2476, allocations: 69.9 MB / 0.7279 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02162/0.2693, allocations: 14.45 MB / 0.7421 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.2728, allocations: 75.56 kB / 0.7421 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003978/0.2769, allocations: 0.9473 MB / 0.743 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008904/0.2858, allocations: 2.676 MB / 0.7457 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.2914, allocations: 1.978 MB / 0.7476 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006925/0.2984, allocations: 4.637 MB / 0.7521 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.3014, allocations: 1.61 MB / 0.7537 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.3064, allocations: 1.815 MB / 0.7555 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.309, allocations: 1.272 MB / 0.7567 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007988/0.3098, allocations: 192 kB / 0.7569 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.3153, allocations: 1.977 MB / 0.7588 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000861/0.3161, allocations: 462.5 kB / 0.7593 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.3187, allocations: 1.027 MB / 0.7603 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007462/0.3262, allocations: 3.498 MB / 0.7637 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3262, allocations: 4 kB / 0.7637 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3262, allocations: 0 / 0.7637 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.687e-05/0.3264, allocations: 0 / 0.7637 GB, free: 2.637 MB / 0.5919 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.00551/0.3319, allocations: 2.298 MB / 0.7659 GB, free: 276 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3319, allocations: 8.031 kB / 0.7659 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005074/0.337, allocations: 0.6578 MB / 0.7666 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.3403, allocations: 1.572 MB / 0.7681 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3405, allocations: 128 kB / 0.7682 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003509/0.3408, allocations: 124 kB / 0.7684 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/0.345, allocations: 1.606 MB / 0.7699 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.345, allocations: 11.86 kB / 0.7699 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.3452, allocations: 52 kB / 0.77 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.3452, allocations: 36 kB / 0.77 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004382/0.3496, allocations: 1.413 MB / 0.7714 GB, free: 10.5 MB / 0.6075 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.01022/0.3598, allocations: 7.175 MB / 0.7784 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.3621, allocations: 0.7845 MB / 0.7792 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.3637, allocations: 486.8 kB / 0.7796 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.365, allocations: 1.27 MB / 0.7809 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.3651, allocations: 47.77 kB / 0.7809 GB, free: 72 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=68): time 2.404e-06/0.3651, allocations: 0 / 0.7809 GB, free: 72 kB / 0.6075 GB Notification: Performance of matching and sorting (n=68): time 0.009868/0.375, allocations: 2.115 MB / 0.783 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.3751, allocations: 111.4 kB / 0.7831 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.3774, allocations: 1.382 MB / 0.7844 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.3776, allocations: 53.64 kB / 0.7845 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/0.3783, allocations: 0.6803 MB / 0.7852 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.3786, allocations: 236.5 kB / 0.7854 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.3789, allocations: 230.3 kB / 0.7856 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3791, allocations: 337.9 kB / 0.7859 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.3809, allocations: 484.5 kB / 0.7864 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.3829, allocations: 0.7433 MB / 0.7871 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.3864, allocations: 1.098 MB / 0.7882 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.3864, allocations: 0 / 0.7882 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004937/0.3913, allocations: 1.511 MB / 0.7897 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.3914, allocations: 8 kB / 0.7897 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3914, allocations: 4 kB / 0.7897 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.3929, allocations: 452 kB / 0.7901 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.3943, allocations: 247.6 kB / 0.7903 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3959, allocations: 1.06 MB / 0.7914 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.3982, allocations: 222.8 kB / 0.7916 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3983, allocations: 51.95 kB / 0.7916 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002356/0.4007, allocations: 0.7719 MB / 0.7924 GB, free: 4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001998/0.4027, allocations: 0.7355 MB / 0.7931 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00337/0.4061, allocations: 1.09 MB / 0.7942 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/0.4061, allocations: 0 / 0.7942 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005248/0.4113, allocations: 1.495 MB / 0.7956 GB, free: 480 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4114, allocations: 8 kB / 0.7956 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4114, allocations: 4 kB / 0.7956 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.4129, allocations: 458 kB / 0.7961 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.4142, allocations: 243.6 kB / 0.7963 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.4157, allocations: 1.073 MB / 0.7974 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/0.4179, allocations: 179.2 kB / 0.7975 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.418, allocations: 51.95 kB / 0.7976 GB, free: 14.45 MB / 0.6387 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.0003794/0.4184, allocations: 240 kB / 0.7978 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4187, allocations: 150.2 kB / 0.798 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4227, allocations: 1.266 MB / 0.7992 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4227, allocations: 8.125 kB / 0.7992 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4227, allocations: 7.984 kB / 0.7992 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003365/0.4261, allocations: 1.08 MB / 0.8003 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/0.4337, allocations: 3.387 MB / 0.8036 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.4338, allocations: 4 kB / 0.8036 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009267/0.4347, allocations: 148 kB / 0.8037 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.4361, allocations: 446.8 kB / 0.8041 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.4362, allocations: 23.97 kB / 0.8042 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.4377, allocations: 1.052 MB / 0.8052 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.4377, allocations: 11.94 kB / 0.8052 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.4418, allocations: 1.35 MB / 0.8065 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/0.4427, allocations: 351.1 kB / 0.8069 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.443, allocations: 19.98 kB / 0.8069 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.4446, allocations: 111.9 kB / 0.807 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.4447, allocations: 52.25 kB / 0.807 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.708e-05/0.4448, allocations: 43.95 kB / 0.8071 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001605/0.4465, allocations: 0.9771 MB / 0.808 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.4465, allocations: 0 / 0.808 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002453/0.4489, allocations: 0.9006 MB / 0.8089 GB, free: 2.473 MB / 0.6387 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.001221/0.4502, allocations: 0.5513 MB / 0.8094 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0063/0.4565, allocations: 1.787 MB / 0.8112 GB, free: 148 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.4565, allocations: 7.781 kB / 0.8112 GB, free: 140 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.3337/0.7902, allocations: 0.5054 MB / 0.8117 GB, free: 146.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/0.7943, allocations: 0.8249 MB / 0.8125 GB, free: 146.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.7996, allocations: 2.518 MB / 0.815 GB, free: 145.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009273/0.8005, allocations: 1.206 MB / 0.8161 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001622/0.8022, allocations: 346.8 kB / 0.8165 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.8026, allocations: 121.2 kB / 0.8166 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.8026, allocations: 2 kB / 0.8166 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.05848/0.8611, allocations: 39.05 MB / 0.8547 GB, free: 119.3 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)