Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 287.5 MB / 302.4 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 178.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6297 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009566/0.0009567, allocations: 82.41 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005276, allocations: 11.66 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2172, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.09458/0.3118, allocations: 64.46 MB / 1.041 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03575/0.3476, allocations: 13.46 MB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.3507, allocations: 63.56 kB / 1.055 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.3543, allocations: 0.6366 MB / 1.055 GB, free: 13.57 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00963/0.364, allocations: 1.999 MB / 1.057 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007332/0.3714, allocations: 1.417 MB / 1.058 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3816, allocations: 5.036 MB / 1.063 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/0.3849, allocations: 1.129 MB / 1.064 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.3899, allocations: 1.373 MB / 1.066 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.3932, allocations: 1.12 MB / 1.067 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006432/0.3939, allocations: 68 kB / 1.067 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6425/1.036, allocations: 1.425 MB / 1.068 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/1.038, allocations: 309.8 kB / 1.069 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/1.039, allocations: 400 kB / 1.069 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007131/1.046, allocations: 2.569 MB / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.046, allocations: 0 / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.006e-06/1.046, allocations: 3.562 kB / 1.072 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001089/1.046, allocations: 0 / 1.072 GB, free: 29.93 MB / 0.6823 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.00744/1.054, allocations: 1.959 MB / 1.073 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.054, allocations: 9.562 kB / 1.073 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/1.064, allocations: 0.6889 MB / 1.074 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/1.069, allocations: 1.498 MB / 1.076 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.069, allocations: 125.4 kB / 1.076 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005266/1.07, allocations: 120.9 kB / 1.076 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/1.083, allocations: 1.636 MB / 1.077 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.851e-05/1.083, allocations: 1.188 kB / 1.077 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005425/1.084, allocations: 53.75 kB / 1.078 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/1.084, allocations: 39.78 kB / 1.078 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/1.095, allocations: 1.463 MB / 1.079 GB, free: 28.11 MB / 0.6823 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.01861/1.113, allocations: 7.206 MB / 1.086 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/1.118, allocations: 0.8131 MB / 1.087 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.121, allocations: 0.4995 MB / 1.087 GB, free: 24.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/1.123, allocations: 1.273 MB / 1.089 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/1.123, allocations: 45.58 kB / 1.089 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.476e-06/1.123, allocations: 4 kB / 1.089 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.0187/1.142, allocations: 2.212 MB / 1.091 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.142, allocations: 114.5 kB / 1.091 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/1.146, allocations: 1.348 MB / 1.092 GB, free: 22.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003497/1.146, allocations: 42.98 kB / 1.092 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/1.147, allocations: 0.6911 MB / 1.093 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/1.147, allocations: 247.3 kB / 1.093 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.148, allocations: 13.25 kB / 1.093 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/1.148, allocations: 338.6 kB / 1.093 GB, free: 21.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.151, allocations: 0.4898 MB / 1.094 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/1.155, allocations: 0.7755 MB / 1.095 GB, free: 21.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/1.159, allocations: 0.5423 MB / 1.095 GB, free: 21.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.159, allocations: 6.438 kB / 1.095 GB, free: 21.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.009579/1.169, allocations: 1.544 MB / 1.097 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/1.169, allocations: 276.7 kB / 1.097 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.169, allocations: 9.438 kB / 1.097 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/1.172, allocations: 465.3 kB / 1.097 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/1.175, allocations: 256.9 kB / 1.098 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.177, allocations: 1.067 MB / 1.099 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/1.182, allocations: 278.7 kB / 1.099 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/1.183, allocations: 57.16 kB / 1.099 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.183, allocations: 5.344 kB / 1.099 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00876/1.191, allocations: 1.39 MB / 1.1 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/1.192, allocations: 6.562 kB / 1.1 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/1.194, allocations: 469.3 kB / 1.101 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.197, allocations: 255.9 kB / 1.101 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/1.199, allocations: 1.072 MB / 1.102 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/1.203, allocations: 243.5 kB / 1.102 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/1.204, allocations: 51.8 kB / 1.102 GB, free: 19.72 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 (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.001456/1.205, allocations: 456.4 kB / 1.103 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/1.206, allocations: 147.8 kB / 1.103 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00772/1.214, allocations: 1.316 MB / 1.104 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/1.214, allocations: 12.67 kB / 1.104 GB, free: 19.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.214, allocations: 1.188 kB / 1.104 GB, free: 19.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006755/1.22, allocations: 1.13 MB / 1.105 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.234, allocations: 3.433 MB / 1.109 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.234, allocations: 3.375 kB / 1.109 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.236, allocations: 160.9 kB / 1.109 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/1.239, allocations: 434.1 kB / 1.109 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/1.239, allocations: 35.12 kB / 1.109 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/1.241, allocations: 1.071 MB / 1.11 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.241, allocations: 10.95 kB / 1.11 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00743/1.248, allocations: 1.399 MB / 1.112 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/1.25, allocations: 381.1 kB / 1.112 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/1.251, allocations: 21.56 kB / 1.112 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/1.254, allocations: 160.1 kB / 1.112 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.255, allocations: 59.14 kB / 1.112 GB, free: 17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.255, allocations: 49.3 kB / 1.112 GB, free: 17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00297/1.258, allocations: 0.9465 MB / 1.113 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.31e-07/1.258, allocations: 0 / 1.113 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005316/1.263, allocations: 0.882 MB / 1.114 GB, free: 16.77 MB / 0.6823 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.002139/1.266, allocations: 0.525 MB / 1.115 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.278, allocations: 1.834 MB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.278, allocations: 1.406 kB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/1.281, allocations: 0.5356 MB / 1.117 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/1.289, allocations: 0.7938 MB / 1.118 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009672/1.298, allocations: 2.991 MB / 1.121 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00095/1.299, allocations: 1.209 MB / 1.122 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003215/1.303, allocations: 344.2 kB / 1.122 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.303, allocations: 119 kB / 1.122 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/1.303, allocations: 0 / 1.122 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of Templates: time 0.08998/1.393, allocations: 35.93 MB / 1.157 GB, free: 7.48 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)