Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004074/0.004073, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.468/1.468, allocations: 165.8 MB / 183.1 MB, free: 5.457 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.727/3.727, allocations: 410.8 MB / 0.6001 GB, free: 15.34 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001776/0.001775, allocations: 204.6 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 15.94 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4037, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.692, allocations: 384.2 MB / 1.184 GB, free: 156.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.692, allocations: 106.6 kB / 1.184 GB, free: 156.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.05/6.742, allocations: 1.028 GB / 2.212 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.895e-06/6.742, allocations: 4 kB / 2.212 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004621/6.743, allocations: 84.91 kB / 2.212 GB, free: 45.42 MB / 0.6042 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.0133/6.756, allocations: 3.704 MB / 2.216 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/6.756, allocations: 7.562 kB / 2.216 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/6.773, allocations: 1.216 MB / 2.217 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009902/6.782, allocations: 3.205 MB / 2.22 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/6.783, allocations: 254.1 kB / 2.22 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000825/6.784, allocations: 238.3 kB / 2.22 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/6.797, allocations: 3.186 MB / 2.224 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/6.798, allocations: 11.72 kB / 2.224 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005577/6.798, allocations: 106.3 kB / 2.224 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/6.798, allocations: 68.19 kB / 2.224 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/6.815, allocations: 2.808 MB / 2.226 GB, free: 39.79 MB / 0.6042 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.03234/6.848, allocations: 13.29 MB / 2.239 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/6.855, allocations: 1.624 MB / 2.241 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/6.861, allocations: 0.9098 MB / 2.242 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002234/6.863, allocations: 1.784 MB / 2.244 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00638/6.87, allocations: 1.177 MB / 2.245 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=126): time 5.43e-06/6.87, allocations: 336 / 2.245 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=132): time 0.06037/6.93, allocations: 10.03 MB / 2.255 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/6.931, allocations: 0.6345 MB / 2.255 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00654/6.937, allocations: 2.565 MB / 2.258 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005571/6.938, allocations: 73.69 kB / 2.258 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/6.939, allocations: 1.332 MB / 2.259 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008279/6.94, allocations: 457.5 kB / 2.26 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/6.941, allocations: 32 kB / 2.26 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001437/6.941, allocations: 369.9 kB / 2.26 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006801/6.948, allocations: 0.929 MB / 2.261 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/6.955, allocations: 1.568 MB / 2.262 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007042/6.962, allocations: 1.072 MB / 2.263 GB, free: 7.242 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/6.962, allocations: 4 kB / 2.263 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01745/6.98, allocations: 2.994 MB / 2.266 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/6.98, allocations: 494.1 kB / 2.267 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/6.98, allocations: 12 kB / 2.267 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004713/6.985, allocations: 0.9366 MB / 2.268 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/6.99, allocations: 463.2 kB / 2.268 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/6.995, allocations: 2.198 MB / 2.27 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009041/7.004, allocations: 399.1 kB / 2.271 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006446/7.004, allocations: 103.9 kB / 2.271 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/7.005, allocations: 8 kB / 2.271 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01704/7.022, allocations: 2.656 MB / 2.273 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/7.022, allocations: 16.03 kB / 2.273 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/7.027, allocations: 0.9175 MB / 2.274 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/7.032, allocations: 455.2 kB / 2.275 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/7.037, allocations: 2.175 MB / 2.277 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008114/7.045, allocations: 359.1 kB / 2.277 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006471/7.046, allocations: 103.9 kB / 2.277 GB, free: 8.699 MB / 0.6198 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 (154): * Single equations (assignments): 151 * 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.002765/7.049, allocations: 0.709 MB / 2.278 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/7.05, allocations: 280.6 kB / 2.278 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/7.068, allocations: 2.509 MB / 2.281 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/7.068, allocations: 16 kB / 2.281 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/7.068, allocations: 7.953 kB / 2.281 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01648/7.085, allocations: 2.13 MB / 2.283 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.531/7.616, allocations: 6.412 MB / 2.289 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-05/7.616, allocations: 7.062 kB / 2.289 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003801/7.62, allocations: 304.2 kB / 2.289 GB, free: 64.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00444/7.624, allocations: 0.784 MB / 2.29 GB, free: 64.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003548/7.625, allocations: 56.73 kB / 2.29 GB, free: 64.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/7.629, allocations: 1.967 MB / 2.292 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/7.629, allocations: 9.531 kB / 2.292 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02197/7.651, allocations: 3.669 MB / 2.296 GB, free: 63.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002595/7.653, allocations: 0.6424 MB / 2.296 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/7.654, allocations: 32.38 kB / 2.296 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007059/7.662, allocations: 300.5 kB / 2.297 GB, free: 63.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/7.662, allocations: 119.4 kB / 2.297 GB, free: 63.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/7.662, allocations: 76.84 kB / 2.297 GB, free: 63.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.006016/7.668, allocations: 1.813 MB / 2.299 GB, free: 63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/7.669, allocations: 0 / 2.299 GB, free: 63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.009424/7.678, allocations: 1.564 MB / 2.3 GB, free: 63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (86): * Single equations (assignments): 80 * 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.003894/7.682, allocations: 1.37 MB / 2.302 GB, free: 62.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02193/7.704, allocations: 3.586 MB / 2.305 GB, free: 62.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/7.704, allocations: 0.7188 kB / 2.305 GB, free: 62.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006771/7.711, allocations: 1.083 MB / 2.306 GB, free: 62.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/7.725, allocations: 1.553 MB / 2.308 GB, free: 62.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/7.748, allocations: 6.06 MB / 2.313 GB, free: 59.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/7.749, allocations: 1.775 MB / 2.315 GB, free: 59.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005857/7.755, allocations: 0.6591 MB / 2.316 GB, free: 59.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/7.757, allocations: 239.2 kB / 2.316 GB, free: 59.22 MB / 0.6198 GB Notification: Performance of SimCode: time 1.553e-06/7.757, allocations: 0 / 2.316 GB, free: 59.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.1731/7.93, allocations: 75.11 MB / 2.389 GB, free: 54.96 MB / 0.6198 GB