Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 186.9 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7894/0.7894, allocations: 82.94 MB / 99.43 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 325.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 99.52 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008096/0.0008099, allocations: 8 kB / 471.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4921, allocations: 67.44 MB / 0.5263 GB, free: 55.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.104/0.5961, allocations: 58.52 MB / 0.5835 GB, free: 8.207 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.02089/0.617, allocations: 12.15 MB / 0.5954 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.6198, allocations: 59.62 kB / 0.5954 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.623, allocations: 0.7928 MB / 0.5962 GB, free: 11.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00846/0.6315, allocations: 2.184 MB / 0.5983 GB, free: 9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007725/0.6392, allocations: 1.912 MB / 0.6002 GB, free: 7.121 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.6453, allocations: 2.656 MB / 0.6028 GB, free: 4.461 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.6479, allocations: 1.168 MB / 0.6039 GB, free: 3.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.6513, allocations: 1.273 MB / 0.6052 GB, free: 1.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.6532, allocations: 0.8283 MB / 0.606 GB, free: 1.152 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.6536, allocations: 72 kB / 0.606 GB, free: 1.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/0.6577, allocations: 1.178 MB / 0.6072 GB, free: 15.9 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006654/0.6584, allocations: 302.8 kB / 0.6075 GB, free: 15.61 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007905/0.6592, allocations: 400.8 kB / 0.6079 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.6642, allocations: 2.455 MB / 0.6103 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.452e-06/0.6642, allocations: 0 / 0.6103 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.583e-06/0.6642, allocations: 0 / 0.6103 GB, free: 12.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.6643, allocations: 0 / 0.6103 GB, free: 12.75 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004831/0.6691, allocations: 1.966 MB / 0.6122 GB, free: 10.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.6692, allocations: 8.031 kB / 0.6122 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.6751, allocations: 0.6964 MB / 0.6129 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.6788, allocations: 1.429 MB / 0.6143 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.679, allocations: 139.9 kB / 0.6144 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.6794, allocations: 123.9 kB / 0.6145 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005182/0.6846, allocations: 1.652 MB / 0.6161 GB, free: 6.508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.6846, allocations: 3.938 kB / 0.6161 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.6849, allocations: 52 kB / 0.6162 GB, free: 6.453 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.6849, allocations: 36 kB / 0.6162 GB, free: 6.418 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/0.6911, allocations: 1.492 MB / 0.6177 GB, free: 4.918 MB / 442.7 MB 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.01923/0.7104, allocations: 7.023 MB / 0.6245 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.7145, allocations: 0.7877 MB / 0.6253 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/0.7163, allocations: 1.267 MB / 0.6265 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002663/0.719, allocations: 0.6713 MB / 0.6272 GB, free: 10.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 4.991e-06/0.719, allocations: 0 / 0.6272 GB, free: 10.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.01254/0.7316, allocations: 2.154 MB / 0.6293 GB, free: 8.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.7319, allocations: 325 kB / 0.6296 GB, free: 7.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/0.735, allocations: 1.422 MB / 0.631 GB, free: 6.492 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.7353, allocations: 45.7 kB / 0.631 GB, free: 6.441 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.7362, allocations: 0.6997 MB / 0.6317 GB, free: 5.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.7365, allocations: 240.6 kB / 0.632 GB, free: 5.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.7367, allocations: 20 kB / 0.632 GB, free: 5.477 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7369, allocations: 345.9 kB / 0.6323 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/0.7395, allocations: 0.5172 MB / 0.6328 GB, free: 4.617 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/0.7425, allocations: 0.8325 MB / 0.6336 GB, free: 3.664 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.7453, allocations: 0.6065 MB / 0.6342 GB, free: 3.051 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.875e-06/0.7453, allocations: 0 / 0.6342 GB, free: 3.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.009562/0.7549, allocations: 1.833 MB / 0.636 GB, free: 1.199 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.7563, allocations: 2.521 MB / 0.6385 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7564, allocations: 11.98 kB / 0.6385 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.7583, allocations: 367.6 kB / 0.6388 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.7602, allocations: 275.5 kB / 0.6391 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.762, allocations: 0.9079 MB / 0.64 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.765, allocations: 290.6 kB / 0.6403 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.7652, allocations: 51.95 kB / 0.6403 GB, free: 12.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7653, allocations: 7.984 kB / 0.6403 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008864/0.7742, allocations: 1.684 MB / 0.642 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.7742, allocations: 8 kB / 0.642 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.7759, allocations: 366.3 kB / 0.6423 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.7778, allocations: 279.5 kB / 0.6426 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.7795, allocations: 0.9029 MB / 0.6435 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.7823, allocations: 266.7 kB / 0.6437 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.7825, allocations: 55.95 kB / 0.6438 GB, free: 9.035 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (98): * Single equations (assignments): 96 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001084/0.7836, allocations: 460.8 kB / 0.6442 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.784, allocations: 154.2 kB / 0.6444 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.7893, allocations: 1.276 MB / 0.6456 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.7894, allocations: 8.094 kB / 0.6456 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.7894, allocations: 8.234 kB / 0.6456 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004511/0.7939, allocations: 1.084 MB / 0.6467 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.804, allocations: 3.349 MB / 0.6499 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.8041, allocations: 4 kB / 0.6499 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.8053, allocations: 172 kB / 0.6501 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.8071, allocations: 360.5 kB / 0.6505 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.8072, allocations: 27.97 kB / 0.6505 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.8089, allocations: 0.9071 MB / 0.6514 GB, free: 1.027 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/0.8089, allocations: 11.89 kB / 0.6514 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007895/0.8168, allocations: 2.238 MB / 0.6536 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.8181, allocations: 410.8 kB / 0.654 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.8184, allocations: 28.05 kB / 0.654 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/0.8207, allocations: 159.7 kB / 0.6541 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8209, allocations: 68.23 kB / 0.6542 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.821, allocations: 39.97 kB / 0.6542 GB, free: 13.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002408/0.8234, allocations: 1.013 MB / 0.6552 GB, free: 12.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.25e-07/0.8235, allocations: 0 / 0.6552 GB, free: 12.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003653/0.8271, allocations: 0.9202 MB / 0.6561 GB, free: 11.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.8287, allocations: 0.5452 MB / 0.6567 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009374/0.8381, allocations: 2.007 MB / 0.6586 GB, free: 9.293 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.8382, allocations: 4 kB / 0.6586 GB, free: 9.289 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.8408, allocations: 0.5604 MB / 0.6592 GB, free: 8.727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/0.8455, allocations: 0.7907 MB / 0.6599 GB, free: 7.949 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/0.8536, allocations: 3.154 MB / 0.663 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.8549, allocations: 1.246 MB / 0.6642 GB, free: 3.438 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002684/0.8576, allocations: 379.7 kB / 0.6646 GB, free: 3.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.8582, allocations: 135.3 kB / 0.6647 GB, free: 2.938 MB / 490.7 MB Notification: Performance of SimCode: time 2.388e-06/0.8582, allocations: 0 / 0.6647 GB, free: 2.938 MB / 490.7 MB Notification: Performance of Templates: time 0.4384/1.297, allocations: 36.92 MB / 0.7008 GB, free: 153.2 MB / 0.5105 GB