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.0008432/0.0008431, 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.0009338/0.0009339, 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.173/1.173, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8288/0.8288, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.2712/0.4132, allocations: 58.51 MB / 0.6443 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.4258, allocations: 12.22 MB / 0.6563 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.4275, allocations: 61.69 kB / 0.6563 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.4292, allocations: 0.7872 MB / 0.6571 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.4334, allocations: 2.222 MB / 0.6593 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003961/0.4374, allocations: 1.893 MB / 0.6611 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.4405, allocations: 2.657 MB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.4419, allocations: 1.163 MB / 0.6648 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.4438, allocations: 1.264 MB / 0.6661 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000892/0.4447, allocations: 0.8132 MB / 0.6669 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.4449, allocations: 66.81 kB / 0.6669 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.4474, allocations: 1.165 MB / 0.6681 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/0.4477, allocations: 310.7 kB / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.448, allocations: 398.5 kB / 0.6687 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.4507, allocations: 2.418 MB / 0.6711 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4507, allocations: 1.5 kB / 0.6711 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4507, allocations: 0 / 0.6711 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.148e-05/0.4508, allocations: 0 / 0.6711 GB, free: 3.184 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.003192/0.454, allocations: 1.921 MB / 0.673 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.454, allocations: 9.188 kB / 0.673 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.4584, allocations: 0.6904 MB / 0.6737 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.4605, allocations: 1.439 MB / 0.6751 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.4606, allocations: 127 kB / 0.6752 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.4608, allocations: 119.3 kB / 0.6753 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.4641, allocations: 1.629 MB / 0.6769 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4642, allocations: 1.375 kB / 0.6769 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.4643, allocations: 57.89 kB / 0.677 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.4644, allocations: 33.17 kB / 0.677 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004232/0.4686, allocations: 1.465 MB / 0.6784 GB, free: 15.54 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.009316/0.4779, allocations: 7.238 MB / 0.6855 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.48, allocations: 0.8174 MB / 0.6863 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.4813, allocations: 1.27 MB / 0.6875 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4813, allocations: 42.72 kB / 0.6876 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.555e-06/0.4813, allocations: 0 / 0.6876 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009254/0.4906, allocations: 2.212 MB / 0.6897 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.4907, allocations: 115.5 kB / 0.6898 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.4931, allocations: 1.401 MB / 0.6912 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.4933, allocations: 43.48 kB / 0.6912 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/0.494, allocations: 0.6903 MB / 0.6919 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.4942, allocations: 240.1 kB / 0.6921 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.4943, allocations: 19.41 kB / 0.6922 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4944, allocations: 337.8 kB / 0.6925 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4961, allocations: 0.4899 MB / 0.693 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.498, allocations: 0.7631 MB / 0.6937 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.4998, allocations: 0.5502 MB / 0.6942 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4998, allocations: 9.844 kB / 0.6943 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004538/0.5043, allocations: 1.541 MB / 0.6958 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008444/0.5052, allocations: 2.5 MB / 0.6982 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5052, allocations: 9.125 kB / 0.6982 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.5067, allocations: 459.9 kB / 0.6986 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.508, allocations: 254.7 kB / 0.6989 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.5094, allocations: 1.082 MB / 0.6999 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.5118, allocations: 277.1 kB / 0.7002 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.5119, allocations: 52.23 kB / 0.7003 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.5119, allocations: 3.375 kB / 0.7003 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004082/0.516, allocations: 1.4 MB / 0.7016 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.516, allocations: 6.25 kB / 0.7016 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.5174, allocations: 464.1 kB / 0.7021 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5187, allocations: 256.6 kB / 0.7023 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5201, allocations: 1.076 MB / 0.7034 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.5222, allocations: 248.7 kB / 0.7036 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5223, allocations: 51.89 kB / 0.7037 GB, free: 15.18 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.0009307/0.5233, allocations: 447.3 kB / 0.7041 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.5236, allocations: 145.1 kB / 0.7042 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.5272, allocations: 1.329 MB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5272, allocations: 6.562 kB / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5272, allocations: 0 / 0.7055 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003119/0.5304, allocations: 1.132 MB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/0.5376, allocations: 3.448 MB / 0.71 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5376, allocations: 3.938 kB / 0.71 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.5385, allocations: 155.1 kB / 0.7102 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.5398, allocations: 450.1 kB / 0.7106 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.5399, allocations: 29.25 kB / 0.7106 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.5412, allocations: 1.077 MB / 0.7117 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5412, allocations: 9 kB / 0.7117 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.5449, allocations: 1.628 MB / 0.7133 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/0.5457, allocations: 404.4 kB / 0.7136 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.5459, allocations: 20.58 kB / 0.7137 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.5474, allocations: 159.4 kB / 0.7138 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.5476, allocations: 54.41 kB / 0.7139 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.5476, allocations: 45.47 kB / 0.7139 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001489/0.5491, allocations: 0.9992 MB / 0.7149 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5491, allocations: 0 / 0.7149 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002399/0.5516, allocations: 0.8975 MB / 0.7158 GB, free: 7.039 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.001226/0.5528, allocations: 0.5375 MB / 0.7163 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005821/0.5586, allocations: 1.844 MB / 0.7181 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.5586, allocations: 0 / 0.7181 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.5603, allocations: 0.5412 MB / 0.7186 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.5638, allocations: 0.7654 MB / 0.7194 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.569, allocations: 2.987 MB / 0.7223 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/0.5697, allocations: 1.238 MB / 0.7235 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001565/0.5713, allocations: 348.7 kB / 0.7238 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.5716, allocations: 115.4 kB / 0.7239 GB, free: 14.61 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.5716, allocations: 0 / 0.7239 GB, free: 14.61 MB / 0.545 GB Notification: Performance of Templates: time 0.05012/0.6217, allocations: 36.42 MB / 0.7595 GB, free: 10.59 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: