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-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_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.0008553/0.0008553, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009168/0.0009167, allocations: 177.3 kB / 15.94 MB, free: 228 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.182/1.182, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 8 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 82.3 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.2776/0.4213, allocations: 58.51 MB / 0.6443 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.434, allocations: 12.23 MB / 0.6563 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.4359, allocations: 56.31 kB / 0.6563 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.4381, allocations: 0.7905 MB / 0.6571 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.4438, allocations: 2.227 MB / 0.6593 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.4483, allocations: 1.891 MB / 0.6611 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.4522, allocations: 2.648 MB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.4538, allocations: 1.171 MB / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.456, allocations: 1.258 MB / 0.6661 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.4572, allocations: 0.819 MB / 0.6669 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.4574, allocations: 66.47 kB / 0.6669 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.4604, allocations: 1.172 MB / 0.6681 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.4607, allocations: 299.8 kB / 0.6684 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000492/0.4612, allocations: 401.9 kB / 0.6687 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.4645, allocations: 2.419 MB / 0.6711 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.4645, allocations: 0 / 0.6711 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4645, allocations: 0 / 0.6711 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.4645, allocations: 0 / 0.6711 GB, free: 3.129 MB / 0.4981 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.003919/0.4685, allocations: 1.922 MB / 0.673 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4685, allocations: 9.406 kB / 0.673 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.4734, allocations: 0.6942 MB / 0.6737 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.4759, allocations: 1.431 MB / 0.6751 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.476, allocations: 135.5 kB / 0.6752 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.4762, allocations: 119.5 kB / 0.6753 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.4797, allocations: 1.628 MB / 0.6769 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4797, allocations: 5.25 kB / 0.6769 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.4799, allocations: 50.8 kB / 0.677 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.48, allocations: 32.84 kB / 0.677 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.4843, allocations: 1.468 MB / 0.6784 GB, free: 15.48 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.01004/0.4944, allocations: 7.242 MB / 0.6855 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.4966, allocations: 0.8101 MB / 0.6863 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.4978, allocations: 1.272 MB / 0.6875 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4978, allocations: 43.33 kB / 0.6876 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.274e-06/0.4978, allocations: 0 / 0.6876 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009373/0.5072, allocations: 2.213 MB / 0.6897 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.5073, allocations: 111.2 kB / 0.6898 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.5096, allocations: 1.401 MB / 0.6912 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.5097, allocations: 45.05 kB / 0.6912 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.5104, allocations: 0.6926 MB / 0.6919 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.5106, allocations: 235.9 kB / 0.6921 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.5107, allocations: 15.72 kB / 0.6922 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5108, allocations: 340.3 kB / 0.6925 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.5126, allocations: 0.4893 MB / 0.693 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5145, allocations: 0.7611 MB / 0.6937 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.5163, allocations: 0.5434 MB / 0.6942 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5163, allocations: 5.906 kB / 0.6942 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00463/0.521, allocations: 1.55 MB / 0.6958 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008351/0.5218, allocations: 2.493 MB / 0.6982 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5218, allocations: 10.19 kB / 0.6982 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.5234, allocations: 471.7 kB / 0.6987 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5247, allocations: 257.3 kB / 0.6989 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.5261, allocations: 1.076 MB / 0.6999 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.5286, allocations: 278.1 kB / 0.7002 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5287, allocations: 54.67 kB / 0.7003 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5287, allocations: 8.031 kB / 0.7003 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004249/0.533, allocations: 1.395 MB / 0.7016 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.533, allocations: 7.031 kB / 0.7016 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.5344, allocations: 457 kB / 0.7021 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5357, allocations: 257.1 kB / 0.7023 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.5372, allocations: 1.078 MB / 0.7034 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.5395, allocations: 244.7 kB / 0.7036 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.5397, allocations: 56.12 kB / 0.7037 GB, free: 15.2 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.0009874/0.5407, allocations: 442.4 kB / 0.7041 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.541, allocations: 154.5 kB / 0.7042 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.5449, allocations: 1.32 MB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.545, allocations: 8.375 kB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.545, allocations: 3.984 kB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003202/0.5482, allocations: 1.131 MB / 0.7066 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/0.5558, allocations: 3.443 MB / 0.71 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5558, allocations: 5.25 kB / 0.71 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.5568, allocations: 157.6 kB / 0.7102 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.5583, allocations: 451.3 kB / 0.7106 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/0.5584, allocations: 33.86 kB / 0.7106 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.5597, allocations: 1.069 MB / 0.7117 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5597, allocations: 8.812 kB / 0.7117 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.5636, allocations: 1.629 MB / 0.7133 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/0.5644, allocations: 399.3 kB / 0.7136 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.5646, allocations: 30.16 kB / 0.7137 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.5662, allocations: 159.2 kB / 0.7138 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.5663, allocations: 54.02 kB / 0.7139 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.5664, allocations: 45.89 kB / 0.7139 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001486/0.5679, allocations: 0.9924 MB / 0.7149 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5679, allocations: 0 / 0.7149 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002379/0.5703, allocations: 0.9012 MB / 0.7158 GB, free: 7.023 MB / 0.5294 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.0009907/0.5713, allocations: 0.546 MB / 0.7163 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006055/0.5773, allocations: 1.836 MB / 0.7181 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.5774, allocations: 0 / 0.7181 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.5792, allocations: 0.5412 MB / 0.7186 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.5829, allocations: 0.7747 MB / 0.7194 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.588, allocations: 2.978 MB / 0.7223 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.5887, allocations: 1.238 MB / 0.7235 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001482/0.5902, allocations: 347.2 kB / 0.7238 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.5905, allocations: 119.3 kB / 0.7239 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.5905, allocations: 0 / 0.7239 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.05036/0.6409, allocations: 36.42 MB / 0.7595 GB, free: 10.55 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: