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.001231/0.001231, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001292/0.001292, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.53 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07497/0.2327, allocations: 69.9 MB / 0.7286 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02384/0.2565, allocations: 14.45 MB / 0.7427 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.2603, allocations: 71.62 kB / 0.7428 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.2638, allocations: 0.9277 MB / 0.7437 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008867/0.2727, allocations: 2.541 MB / 0.7462 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005927/0.2786, allocations: 1.975 MB / 0.7481 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.408/0.6867, allocations: 4.623 MB / 0.7526 GB, free: 23.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003007/0.6897, allocations: 1.61 MB / 0.7542 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.6954, allocations: 1.81 MB / 0.7559 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.6992, allocations: 1.27 MB / 0.7572 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007203/0.6999, allocations: 193 kB / 0.7574 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00612/0.706, allocations: 1.98 MB / 0.7593 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.7068, allocations: 463.3 kB / 0.7597 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.7087, allocations: 1.008 MB / 0.7607 GB, free: 22.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007991/0.7167, allocations: 3.506 MB / 0.7642 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7167, allocations: 3.938 kB / 0.7642 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7167, allocations: 1.344 kB / 0.7642 GB, free: 22.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.261e-05/0.7168, allocations: 1.969 kB / 0.7642 GB, free: 22.55 MB / 0.5762 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.00626/0.7231, allocations: 2.302 MB / 0.7664 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7232, allocations: 9.5 kB / 0.7664 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.7285, allocations: 0.6489 MB / 0.767 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/0.7321, allocations: 1.579 MB / 0.7686 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.7323, allocations: 130.4 kB / 0.7687 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.7326, allocations: 118.7 kB / 0.7688 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.7367, allocations: 1.615 MB / 0.7704 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.7367, allocations: 1.438 kB / 0.7704 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.7369, allocations: 64.45 kB / 0.7705 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/0.737, allocations: 32.48 kB / 0.7705 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/0.7414, allocations: 1.42 MB / 0.7719 GB, free: 20.53 MB / 0.5762 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.01061/0.7521, allocations: 7.17 MB / 0.7789 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.7543, allocations: 0.7962 MB / 0.7797 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.7559, allocations: 490.7 kB / 0.7801 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.757, allocations: 1.267 MB / 0.7814 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.7571, allocations: 44.16 kB / 0.7814 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 3.376e-06/0.7571, allocations: 3.938 kB / 0.7814 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.009683/0.7668, allocations: 2.113 MB / 0.7835 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.7669, allocations: 113.1 kB / 0.7836 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.7691, allocations: 1.38 MB / 0.7849 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.7692, allocations: 44.48 kB / 0.785 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.7698, allocations: 0.6923 MB / 0.7857 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.7701, allocations: 235.4 kB / 0.7859 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.7704, allocations: 217.7 kB / 0.7861 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.7705, allocations: 346.2 kB / 0.7864 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.7723, allocations: 485.7 kB / 0.7869 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.7742, allocations: 0.7449 MB / 0.7876 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.7776, allocations: 1.092 MB / 0.7887 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7776, allocations: 0 / 0.7887 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004763/0.7823, allocations: 1.5 MB / 0.7901 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.7824, allocations: 15.03 kB / 0.7902 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7824, allocations: 11.31 kB / 0.7902 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/0.7839, allocations: 445.5 kB / 0.7906 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.7852, allocations: 249 kB / 0.7908 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.7866, allocations: 1.06 MB / 0.7919 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.789, allocations: 214.6 kB / 0.7921 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.7891, allocations: 54.12 kB / 0.7921 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002281/0.7914, allocations: 0.7693 MB / 0.7929 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001839/0.7933, allocations: 0.7462 MB / 0.7936 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003174/0.7965, allocations: 1.083 MB / 0.7947 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.289e-06/0.7965, allocations: 3.672 kB / 0.7947 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004849/0.8013, allocations: 1.507 MB / 0.7961 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8014, allocations: 8.75 kB / 0.7961 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8014, allocations: 5.25 kB / 0.7961 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.8029, allocations: 454.8 kB / 0.7966 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.8041, allocations: 247.1 kB / 0.7968 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.8054, allocations: 1.056 MB / 0.7978 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.8079, allocations: 192.6 kB / 0.798 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.808, allocations: 56.53 kB / 0.7981 GB, free: 8.477 MB / 0.5762 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.0003961/0.8084, allocations: 234.7 kB / 0.7983 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.809, allocations: 140.1 kB / 0.7984 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.8129, allocations: 1.273 MB / 0.7997 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.8129, allocations: 10 kB / 0.7997 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.813, allocations: 3.938 kB / 0.7997 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003241/0.8162, allocations: 1.084 MB / 0.8008 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008839/0.8251, allocations: 3.387 MB / 0.8041 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.8251, allocations: 4.719 kB / 0.8041 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/0.826, allocations: 145.2 kB / 0.8042 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.8275, allocations: 432 kB / 0.8046 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.8276, allocations: 36.41 kB / 0.8047 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.8288, allocations: 1.059 MB / 0.8057 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8288, allocations: 6.906 kB / 0.8057 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.8328, allocations: 1.352 MB / 0.807 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/0.8337, allocations: 358.2 kB / 0.8074 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/0.8343, allocations: 14.31 kB / 0.8074 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.8363, allocations: 113 kB / 0.8075 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.8365, allocations: 59.81 kB / 0.8075 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.8366, allocations: 47.06 kB / 0.8076 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001796/0.8384, allocations: 0.9744 MB / 0.8085 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.2e-07/0.8384, allocations: 0 / 0.8085 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003503/0.8419, allocations: 0.8967 MB / 0.8094 GB, free: 380 kB / 0.5762 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.001701/0.8436, allocations: 0.5478 MB / 0.8099 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006702/0.8503, allocations: 1.791 MB / 0.8117 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.8504, allocations: 4 kB / 0.8117 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.8523, allocations: 0.5125 MB / 0.8122 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/0.8573, allocations: 0.8234 MB / 0.813 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.8636, allocations: 2.551 MB / 0.8155 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.8647, allocations: 1.207 MB / 0.8167 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005734/0.8653, allocations: 135.3 kB / 0.8168 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.8653, allocations: 0 / 0.8168 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of Templates: time 0.05386/0.9192, allocations: 35.99 MB / 0.8519 GB, free: 5.211 MB / 0.6231 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)