Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 172.7 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007705/0.0007707, allocations: 81.8 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003384, allocations: 11.19 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05415/0.2562, allocations: 68.23 MB / 0.9681 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.2769, allocations: 14.63 MB / 0.9824 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.2802, allocations: 63.56 kB / 0.9824 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.2829, allocations: 0.7615 MB / 0.9832 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00779/0.2907, allocations: 2.318 MB / 0.9854 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/0.2965, allocations: 1.799 MB / 0.9872 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008081/0.3046, allocations: 5.81 MB / 0.9929 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.307, allocations: 1.262 MB / 0.9941 GB, free: 304 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.3106, allocations: 1.447 MB / 0.9955 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.3128, allocations: 1.19 MB / 0.9967 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.3131, allocations: 64 kB / 0.9967 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/0.3177, allocations: 1.823 MB / 0.9985 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.3182, allocations: 330.4 kB / 0.9988 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.3198, allocations: 0.8879 MB / 0.9997 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.3241, allocations: 2.677 MB / 1.002 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3241, allocations: 0 / 1.002 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3242, allocations: 3.938 kB / 1.002 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.3242, allocations: 0 / 1.002 GB, free: 7.852 MB / 0.6511 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.004103/0.3283, allocations: 1.967 MB / 1.004 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3284, allocations: 8.031 kB / 1.004 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.3333, allocations: 0.6857 MB / 1.005 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.3364, allocations: 1.53 MB / 1.006 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3366, allocations: 135.9 kB / 1.007 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.3368, allocations: 116 kB / 1.007 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.3408, allocations: 1.63 MB / 1.008 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.3408, allocations: 4 kB / 1.008 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.341, allocations: 52 kB / 1.008 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.341, allocations: 35.94 kB / 1.008 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.3457, allocations: 1.472 MB / 1.01 GB, free: 15.98 MB / 0.6667 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.011/0.3568, allocations: 7.198 MB / 1.017 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.3591, allocations: 0.8215 MB / 1.018 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3608, allocations: 0.4949 MB / 1.018 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.3622, allocations: 1.271 MB / 1.019 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.3622, allocations: 47.11 kB / 1.019 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 5.219e-06/0.3622, allocations: 4 kB / 1.019 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.01036/0.3726, allocations: 2.24 MB / 1.022 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.3727, allocations: 115.4 kB / 1.022 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.3751, allocations: 1.359 MB / 1.023 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.3753, allocations: 45.7 kB / 1.023 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/0.376, allocations: 0.6918 MB / 1.024 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.3763, allocations: 232.7 kB / 1.024 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.3763, allocations: 12 kB / 1.024 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3765, allocations: 345.9 kB / 1.024 GB, free: 360 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.3784, allocations: 0.4977 MB / 1.025 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.3805, allocations: 0.7783 MB / 1.026 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.3841, allocations: 1.148 MB / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3841, allocations: 0 / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005186/0.3893, allocations: 1.558 MB / 1.028 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.3896, allocations: 280.7 kB / 1.028 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3896, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.3912, allocations: 442.7 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.3927, allocations: 259.5 kB / 1.029 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.3944, allocations: 1.087 MB / 1.03 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.397, allocations: 278.8 kB / 1.03 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3971, allocations: 55.98 kB / 1.03 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3972, allocations: 4 kB / 1.03 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004524/0.4017, allocations: 1.39 MB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4017, allocations: 16.02 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.4032, allocations: 445.5 kB / 1.032 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4047, allocations: 255.6 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.4063, allocations: 1.075 MB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.4086, allocations: 250.8 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.4087, allocations: 51.95 kB / 1.034 GB, free: 6.172 MB / 0.6823 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 (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.0009298/0.4096, allocations: 448.8 kB / 1.034 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.4099, allocations: 142.3 kB / 1.034 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.414, allocations: 1.321 MB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4141, allocations: 4 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4141, allocations: 8 kB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003435/0.4175, allocations: 1.139 MB / 1.037 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.4253, allocations: 3.414 MB / 1.04 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.4253, allocations: 4 kB / 1.04 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/0.4262, allocations: 155.8 kB / 1.04 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.4277, allocations: 430.8 kB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/0.4278, allocations: 27.97 kB / 1.041 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.4294, allocations: 1.071 MB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4294, allocations: 4 kB / 1.042 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/0.4338, allocations: 1.405 MB / 1.043 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.4349, allocations: 394.8 kB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/0.4354, allocations: 19.94 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.4373, allocations: 154.2 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4375, allocations: 52.25 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.4376, allocations: 43.95 kB / 1.044 GB, free: 11.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002158/0.4398, allocations: 0.9652 MB / 1.045 GB, free: 10.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4398, allocations: 0 / 1.045 GB, free: 10.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00338/0.4432, allocations: 0.924 MB / 1.046 GB, free: 9.691 MB / 0.698 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.001683/0.4449, allocations: 0.5847 MB / 1.046 GB, free: 9.109 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.4515, allocations: 1.849 MB / 1.048 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.4516, allocations: 4 kB / 1.048 GB, free: 7.258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.4535, allocations: 0.5335 MB / 1.049 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005452/0.459, allocations: 0.8081 MB / 1.049 GB, free: 5.938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.4662, allocations: 3.164 MB / 1.052 GB, free: 2.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.4674, allocations: 1.203 MB / 1.054 GB, free: 1.461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.4681, allocations: 147.3 kB / 1.054 GB, free: 1.316 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.4681, allocations: 0 / 1.054 GB, free: 1.316 MB / 0.698 GB Notification: Performance of Templates: time 0.4463/0.9145, allocations: 35.49 MB / 1.088 GB, free: 130.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)