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.0009245/0.0009246, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.971/0.971, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.000355, allocations: 8 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 82.3 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3631/0.5279, allocations: 68.21 MB / 0.6552 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.545, allocations: 14.45 MB / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.5476, allocations: 61.19 kB / 0.6694 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.5498, allocations: 0.7538 MB / 0.6701 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.5569, allocations: 2.343 MB / 0.6724 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.5619, allocations: 1.785 MB / 0.6742 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008557/0.5705, allocations: 5.856 MB / 0.6799 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.5732, allocations: 1.287 MB / 0.6811 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.5769, allocations: 1.432 MB / 0.6825 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.5794, allocations: 1.19 MB / 0.6837 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.5798, allocations: 67.38 kB / 0.6838 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.5842, allocations: 1.727 MB / 0.6854 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.5847, allocations: 332.6 kB / 0.6858 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.5862, allocations: 0.8952 MB / 0.6866 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.5908, allocations: 2.634 MB / 0.6892 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5908, allocations: 5.562 kB / 0.6892 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5908, allocations: 0.6562 kB / 0.6892 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.618e-05/0.5909, allocations: 0 / 0.6892 GB, free: 8.031 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.004555/0.5955, allocations: 1.941 MB / 0.6911 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5955, allocations: 8.719 kB / 0.6911 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.6008, allocations: 0.6908 MB / 0.6918 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.6041, allocations: 1.55 MB / 0.6933 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.6043, allocations: 130.6 kB / 0.6934 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.6045, allocations: 122.9 kB / 0.6936 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/0.6089, allocations: 1.647 MB / 0.6952 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.609, allocations: 1.375 kB / 0.6952 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.6091, allocations: 49.52 kB / 0.6952 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.6092, allocations: 41.02 kB / 0.6952 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/0.6141, allocations: 1.475 MB / 0.6967 GB, free: 4.281 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.01121/0.6253, allocations: 7.19 MB / 0.7037 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.6278, allocations: 0.8268 MB / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.6295, allocations: 0.4993 MB / 0.705 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.6308, allocations: 1.267 MB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.6309, allocations: 44.62 kB / 0.7063 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.026e-06/0.6309, allocations: 4 kB / 0.7063 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01043/0.6414, allocations: 2.256 MB / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.6415, allocations: 110.3 kB / 0.7086 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.6439, allocations: 1.37 MB / 0.7099 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.6442, allocations: 44.77 kB / 0.71 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.6449, allocations: 0.6842 MB / 0.7106 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.6452, allocations: 233.8 kB / 0.7109 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.6453, allocations: 75.45 kB / 0.7109 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6455, allocations: 342.5 kB / 0.7113 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.6475, allocations: 0.4961 MB / 0.7118 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.6496, allocations: 0.7715 MB / 0.7125 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/0.6531, allocations: 1.138 MB / 0.7136 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6531, allocations: 1.375 kB / 0.7136 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005044/0.6582, allocations: 1.569 MB / 0.7152 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.6584, allocations: 276.1 kB / 0.7154 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.6584, allocations: 6.969 kB / 0.7154 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/0.6601, allocations: 460.3 kB / 0.7159 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6615, allocations: 256.8 kB / 0.7161 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.663, allocations: 1.089 MB / 0.7172 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.6657, allocations: 264.2 kB / 0.7174 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.6658, allocations: 54 kB / 0.7175 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.6658, allocations: 5 kB / 0.7175 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004437/0.6703, allocations: 1.402 MB / 0.7188 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6703, allocations: 6.031 kB / 0.7189 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.6717, allocations: 461.4 kB / 0.7193 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.6732, allocations: 259.7 kB / 0.7195 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.6747, allocations: 1.087 MB / 0.7206 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.6772, allocations: 246.7 kB / 0.7208 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.6773, allocations: 51.95 kB / 0.7209 GB, free: 3.656 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 (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.001088/0.6784, allocations: 448.8 kB / 0.7213 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.6788, allocations: 150.2 kB / 0.7215 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/0.683, allocations: 1.319 MB / 0.7227 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.683, allocations: 8 kB / 0.7228 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.683, allocations: 3.938 kB / 0.7228 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003507/0.6866, allocations: 1.143 MB / 0.7239 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/0.6949, allocations: 3.434 MB / 0.7272 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.695, allocations: 7.938 kB / 0.7272 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/0.6959, allocations: 156 kB / 0.7274 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.6974, allocations: 443.3 kB / 0.7278 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.711e-05/0.6975, allocations: 27.97 kB / 0.7278 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.6991, allocations: 1.069 MB / 0.7289 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.6991, allocations: 8 kB / 0.7289 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.7033, allocations: 1.409 MB / 0.7303 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.7044, allocations: 390.9 kB / 0.7306 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.7047, allocations: 16 kB / 0.7306 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/0.7065, allocations: 163 kB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.7066, allocations: 52.31 kB / 0.7309 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/0.7067, allocations: 47.88 kB / 0.7309 GB, free: 9.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001772/0.7085, allocations: 0.9654 MB / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7085, allocations: 0 / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002867/0.7114, allocations: 0.885 MB / 0.7327 GB, free: 7.172 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 (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.001349/0.7127, allocations: 0.5448 MB / 0.7332 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006429/0.7192, allocations: 1.85 MB / 0.735 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7192, allocations: 0 / 0.735 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.7211, allocations: 0.5374 MB / 0.7356 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/0.7264, allocations: 0.8047 MB / 0.7364 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/0.7327, allocations: 3.168 MB / 0.7394 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.7336, allocations: 1.207 MB / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/0.7341, allocations: 151.2 kB / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.7342, allocations: 0 / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.04913/0.7833, allocations: 35.38 MB / 0.7753 GB, free: 11.66 MB / 0.5919 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)