Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6075/0.6075, allocations: 92 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 104.1 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003388, allocations: 8 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1602, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.22, allocations: 388.7 MB / 0.9484 GB, free: 78.62 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.22, allocations: 94.83 kB / 0.9485 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.144/5.364, allocations: 1.071 GB / 2.019 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/5.364, allocations: 2.062 kB / 2.019 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005287/5.364, allocations: 85.27 kB / 2.019 GB, free: 43.51 MB / 0.6355 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.01241/5.377, allocations: 3.712 MB / 2.023 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/5.377, allocations: 9.312 kB / 2.023 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009766/5.387, allocations: 1.218 MB / 2.024 GB, free: 41.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009076/5.396, allocations: 3.337 MB / 2.027 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/5.396, allocations: 253.2 kB / 2.028 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/5.397, allocations: 233.5 kB / 2.028 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009448/5.407, allocations: 3.175 MB / 2.031 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/5.407, allocations: 7.125 kB / 2.031 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/5.407, allocations: 102.2 kB / 2.031 GB, free: 40.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/5.407, allocations: 98.5 kB / 2.031 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008561/5.416, allocations: 2.806 MB / 2.034 GB, free: 40.51 MB / 0.6355 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.01927/5.435, allocations: 13.35 MB / 2.047 GB, free: 34.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/5.439, allocations: 1.53 MB / 2.048 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/5.44, allocations: 1.777 MB / 2.05 GB, free: 32.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003337/5.444, allocations: 1.202 MB / 2.051 GB, free: 32.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.437e-06/5.444, allocations: 0 / 2.051 GB, free: 32.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122): time 0.03638/5.48, allocations: 13.33 MB / 2.064 GB, free: 26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002556/5.481, allocations: 0.9363 MB / 2.065 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/5.484, allocations: 2.427 MB / 2.068 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000322/5.485, allocations: 63.83 kB / 2.068 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/5.486, allocations: 1.364 MB / 2.069 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/5.486, allocations: 428.6 kB / 2.069 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/5.486, allocations: 32.03 kB / 2.069 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001068/5.486, allocations: 369 kB / 2.07 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/5.49, allocations: 0.9277 MB / 2.071 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/5.494, allocations: 1.559 MB / 2.072 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/5.497, allocations: 1.066 MB / 2.073 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/5.497, allocations: 4.25 kB / 2.073 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009044/5.506, allocations: 2.981 MB / 2.076 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/5.507, allocations: 5.26 MB / 2.081 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/5.507, allocations: 13.22 kB / 2.081 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/5.51, allocations: 0.9234 MB / 2.082 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/5.513, allocations: 457 kB / 2.083 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/5.515, allocations: 2.191 MB / 2.085 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/5.521, allocations: 415.3 kB / 2.085 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/5.521, allocations: 111.2 kB / 2.085 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/5.521, allocations: 5.062 kB / 2.085 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008239/5.53, allocations: 2.647 MB / 2.088 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/5.53, allocations: 13.78 kB / 2.088 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/5.532, allocations: 0.923 MB / 2.089 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/5.534, allocations: 435.2 kB / 2.089 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/5.537, allocations: 2.187 MB / 2.091 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/5.542, allocations: 355.3 kB / 2.092 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/5.542, allocations: 103 kB / 2.092 GB, free: 14.79 MB / 0.6355 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 () * Number of clocked 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001838/5.544, allocations: 0.7036 MB / 2.092 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/5.544, allocations: 286.6 kB / 2.093 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008808/5.553, allocations: 2.358 MB / 2.095 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/5.553, allocations: 17.25 kB / 2.095 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/5.553, allocations: 3.438 kB / 2.095 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008049/5.561, allocations: 2.122 MB / 2.097 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/5.578, allocations: 6.755 MB / 2.104 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/5.578, allocations: 10.36 kB / 2.104 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/5.58, allocations: 279.4 kB / 2.104 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/5.583, allocations: 0.8038 MB / 2.105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/5.583, allocations: 50.47 kB / 2.105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00288/5.586, allocations: 1.954 MB / 2.107 GB, free: 26.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/5.586, allocations: 10.69 kB / 2.107 GB, free: 26.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/5.598, allocations: 4.123 MB / 2.111 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/5.6, allocations: 0.656 MB / 2.111 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/5.601, allocations: 41.61 kB / 2.111 GB, free: 25.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/5.605, allocations: 276.2 kB / 2.112 GB, free: 25.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/5.605, allocations: 115.2 kB / 2.112 GB, free: 25.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/5.606, allocations: 73.05 kB / 2.112 GB, free: 25.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003503/5.609, allocations: 1.902 MB / 2.114 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/5.609, allocations: 3.156 kB / 2.114 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007669/5.617, allocations: 1.655 MB / 2.115 GB, free: 24.86 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.003053/5.62, allocations: 1.481 MB / 2.117 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01189/5.632, allocations: 3.542 MB / 2.12 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/5.632, allocations: 4.094 kB / 2.12 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003401/5.635, allocations: 1.051 MB / 2.121 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007326/5.643, allocations: 1.509 MB / 2.123 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/5.656, allocations: 5.995 MB / 2.129 GB, free: 21.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/5.657, allocations: 1.771 MB / 2.13 GB, free: 20.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003692/5.661, allocations: 0.6624 MB / 2.131 GB, free: 20.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/5.662, allocations: 231.2 kB / 2.131 GB, free: 20.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/5.662, allocations: 0 / 2.131 GB, free: 20.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.106/5.768, allocations: 76.13 MB / 2.206 GB, free: 15.56 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)