Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001119/0.001119, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008855/0.0008856, allocations: 87.47 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.669e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6677, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9887/1.656, allocations: 424.2 MB / 1.387 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/1.657, allocations: 88.77 kB / 1.388 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.636/5.293, allocations: 1.038 GB / 2.425 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.705e-06/5.293, allocations: 1.188 kB / 2.425 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003422/5.293, allocations: 81.61 kB / 2.425 GB, free: 109.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008752/5.302, allocations: 3.206 MB / 2.428 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/5.302, allocations: 9.062 kB / 2.428 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008727/5.311, allocations: 1.216 MB / 2.43 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007457/5.319, allocations: 3.29 MB / 2.433 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/5.319, allocations: 172.3 kB / 2.433 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/5.319, allocations: 140.5 kB / 2.433 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003943/5.323, allocations: 1.992 MB / 2.435 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/5.327, allocations: 2.496 MB / 2.437 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/5.327, allocations: 9.594 kB / 2.437 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/5.328, allocations: 6.281 kB / 2.437 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/5.328, allocations: 76.91 kB / 2.438 GB, free: 107.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01824/5.346, allocations: 12.82 MB / 2.45 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/5.348, allocations: 1.147 MB / 2.451 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/5.348, allocations: 0.5686 MB / 2.452 GB, free: 101.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/5.35, allocations: 1.778 MB / 2.453 GB, free: 99.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/5.351, allocations: 0.9052 MB / 2.454 GB, free: 98.94 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 4.038e-06/5.351, allocations: 3.531 kB / 2.454 GB, free: 98.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.02122/5.372, allocations: 10.5 MB / 2.465 GB, free: 92.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/5.372, allocations: 0.9408 MB / 2.466 GB, free: 91.78 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/5.375, allocations: 1.832 MB / 2.467 GB, free: 91.56 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/5.375, allocations: 36.8 kB / 2.467 GB, free: 91.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/5.376, allocations: 1.378 MB / 2.469 GB, free: 90.96 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/5.377, allocations: 412.8 kB / 2.469 GB, free: 90.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/5.377, allocations: 0 / 2.469 GB, free: 90.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001074/5.377, allocations: 369 kB / 2.469 GB, free: 90.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/5.378, allocations: 0.5739 MB / 2.47 GB, free: 90.39 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/5.379, allocations: 1.197 MB / 2.471 GB, free: 89.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/5.382, allocations: 0.9543 MB / 2.472 GB, free: 89.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/5.382, allocations: 3.594 kB / 2.472 GB, free: 89.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005818/5.388, allocations: 2.343 MB / 2.474 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/5.389, allocations: 5.118 MB / 2.479 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/5.389, allocations: 11.69 kB / 2.479 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/5.391, allocations: 0.7154 MB / 2.48 GB, free: 84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/5.393, allocations: 457 kB / 2.481 GB, free: 84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/5.396, allocations: 2.274 MB / 2.483 GB, free: 82.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/5.401, allocations: 365.1 kB / 2.483 GB, free: 82.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/5.401, allocations: 104.9 kB / 2.483 GB, free: 82.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/5.401, allocations: 12.58 kB / 2.483 GB, free: 82.91 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005555/5.407, allocations: 2.052 MB / 2.485 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/5.407, allocations: 11.12 kB / 2.485 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/5.408, allocations: 0.7177 MB / 2.486 GB, free: 82.83 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/5.411, allocations: 439.9 kB / 2.486 GB, free: 82.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/5.414, allocations: 2.277 MB / 2.489 GB, free: 81.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/5.418, allocations: 307.3 kB / 2.489 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/5.419, allocations: 105.6 kB / 2.489 GB, free: 81.74 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 22,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007462/5.42, allocations: 157.5 kB / 2.489 GB, free: 81.63 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009685/5.42, allocations: 246.5 kB / 2.489 GB, free: 81.51 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006415/5.427, allocations: 1.836 MB / 2.491 GB, free: 81.38 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/5.427, allocations: 17.73 kB / 2.491 GB, free: 81.38 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/5.427, allocations: 9.422 kB / 2.491 GB, free: 81.38 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004872/5.432, allocations: 1.66 MB / 2.493 GB, free: 81.08 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/5.446, allocations: 6.162 MB / 2.499 GB, free: 79.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/5.446, allocations: 3.844 kB / 2.499 GB, free: 79.17 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/5.447, allocations: 284.5 kB / 2.499 GB, free: 79.17 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/5.449, allocations: 0.5999 MB / 2.5 GB, free: 79.15 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/5.449, allocations: 41.08 kB / 2.5 GB, free: 79.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/5.452, allocations: 2.031 MB / 2.502 GB, free: 78.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/5.452, allocations: 10.66 kB / 2.502 GB, free: 78.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/5.459, allocations: 3.307 MB / 2.505 GB, free: 76.89 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/5.46, allocations: 0.5988 MB / 2.505 GB, free: 76.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009868/5.461, allocations: 19.86 kB / 2.506 GB, free: 76.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003631/5.465, allocations: 251.7 kB / 2.506 GB, free: 76.66 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/5.465, allocations: 115.1 kB / 2.506 GB, free: 76.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/5.465, allocations: 68.47 kB / 2.506 GB, free: 76.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002666/5.468, allocations: 1.375 MB / 2.507 GB, free: 76.51 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.11e-07/5.468, allocations: 1.594 kB / 2.507 GB, free: 76.51 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007712/5.476, allocations: 1.552 MB / 2.509 GB, free: 76.39 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00387/5.48, allocations: 1.482 MB / 2.51 GB, free: 76 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006681/5.486, allocations: 2.771 MB / 2.513 GB, free: 75.81 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/5.487, allocations: 4.594 kB / 2.513 GB, free: 75.81 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/5.489, allocations: 0.8376 MB / 2.514 GB, free: 75.79 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006405/5.495, allocations: 1.098 MB / 2.515 GB, free: 75.78 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/5.506, allocations: 3.739 MB / 2.518 GB, free: 74.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/5.508, allocations: 1.774 MB / 2.52 GB, free: 73.94 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004941/5.513, allocations: 0.7158 MB / 2.521 GB, free: 73.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/5.513, allocations: 168.1 kB / 2.521 GB, free: 73.91 MB / 0.9636 GB Notification: Performance of SimCode: time 2.011e-05/5.513, allocations: 2.156 kB / 2.521 GB, free: 73.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.09065/5.604, allocations: 64.55 MB / 2.584 GB, free: 69.93 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)