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.001406/0.001405, allocations: 186.4 kB / 15.77 MB, free: 6 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.7357/0.7357, allocations: 82.93 MB / 99.42 MB, free: 3.219 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.291/2.291, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001679/0.001678, allocations: 90.88 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004443, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 67.45 MB / 0.5263 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.476/0.5977, allocations: 109.3 MB / 0.6331 GB, free: 13.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03392/0.6317, allocations: 21.19 MB / 0.6538 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004934/0.6367, allocations: 114 kB / 0.6539 GB, free: 13.65 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.6425, allocations: 1.448 MB / 0.6553 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.6588, allocations: 4.082 MB / 0.6593 GB, free: 8.965 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.672, allocations: 3.151 MB / 0.6623 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.6832, allocations: 5.082 MB / 0.6673 GB, free: 3.422 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004741/0.688, allocations: 2.287 MB / 0.6695 GB, free: 1.672 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008905/0.6969, allocations: 2.429 MB / 0.6719 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/0.7023, allocations: 1.587 MB / 0.6735 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.7036, allocations: 132 kB / 0.6736 GB, free: 13.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007582/0.7112, allocations: 1.744 MB / 0.6753 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.7125, allocations: 0.568 MB / 0.6758 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.7141, allocations: 0.7383 MB / 0.6766 GB, free: 10.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008923/0.7231, allocations: 4.569 MB / 0.681 GB, free: 5.871 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.429e-06/0.7231, allocations: 3.938 kB / 0.681 GB, free: 5.867 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.959e-06/0.7231, allocations: 4 kB / 0.681 GB, free: 5.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.003e-05/0.7232, allocations: 0 / 0.681 GB, free: 5.863 MB / 458.7 MB 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.008432/0.7317, allocations: 3.367 MB / 0.6843 GB, free: 2.395 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.7317, allocations: 8.031 kB / 0.6843 GB, free: 2.387 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.7435, allocations: 1.369 MB / 0.6857 GB, free: 1.012 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006812/0.7503, allocations: 2.698 MB / 0.6883 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.7507, allocations: 255.9 kB / 0.6885 GB, free: 13.97 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.7514, allocations: 236 kB / 0.6888 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.7619, allocations: 3.171 MB / 0.6919 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.762, allocations: 7.922 kB / 0.6919 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.7624, allocations: 108 kB / 0.692 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.7626, allocations: 68 kB / 0.692 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.7749, allocations: 2.811 MB / 0.6948 GB, free: 7.375 MB / 474.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.02953/0.8045, allocations: 13.68 MB / 0.7082 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005779/0.8103, allocations: 1.458 MB / 0.7096 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/0.8127, allocations: 1.781 MB / 0.7113 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004652/0.8174, allocations: 1.143 MB / 0.7124 GB, free: 4.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 6.218e-06/0.8175, allocations: 4 kB / 0.7124 GB, free: 4.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.04023/0.8577, allocations: 9.72 MB / 0.7219 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003791/0.8581, allocations: 0.5805 MB / 0.7225 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00623/0.8644, allocations: 2.694 MB / 0.7251 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/0.8648, allocations: 61.7 kB / 0.7252 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.8666, allocations: 1.349 MB / 0.7265 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007626/0.8674, allocations: 457.5 kB / 0.7269 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.8676, allocations: 32 kB / 0.727 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.8679, allocations: 369.9 kB / 0.7273 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005471/0.8734, allocations: 0.9446 MB / 0.7282 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.8791, allocations: 1.546 MB / 0.7298 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005023/0.8841, allocations: 1.086 MB / 0.7308 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.8842, allocations: 8 kB / 0.7308 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01427/0.8985, allocations: 3.097 MB / 0.7338 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002928/0.9015, allocations: 5.241 MB / 0.739 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/0.9015, allocations: 12 kB / 0.739 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004387/0.9059, allocations: 0.9313 MB / 0.7399 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/0.9093, allocations: 479.2 kB / 0.7403 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.9139, allocations: 2.198 MB / 0.7425 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005627/0.9195, allocations: 403.3 kB / 0.7429 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000468/0.92, allocations: 103.9 kB / 0.743 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9201, allocations: 4 kB / 0.743 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01285/0.9329, allocations: 2.798 MB / 0.7457 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.933, allocations: 12 kB / 0.7457 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/0.9372, allocations: 0.9399 MB / 0.7466 GB, free: 60 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/0.9405, allocations: 471.2 kB / 0.7471 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/0.945, allocations: 2.186 MB / 0.7492 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/0.95, allocations: 367.4 kB / 0.7496 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/0.9505, allocations: 107.9 kB / 0.7497 GB, free: 12.89 MB / 0.5261 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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.002054/0.9526, allocations: 0.7013 MB / 0.7504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.9534, allocations: 284.5 kB / 0.7506 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.9645, allocations: 2.368 MB / 0.7529 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/0.9646, allocations: 23.94 kB / 0.753 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.9646, allocations: 4 kB / 0.753 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009586/0.9742, allocations: 1.982 MB / 0.7549 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/0.9945, allocations: 6.238 MB / 0.761 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.9945, allocations: 8.031 kB / 0.761 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/0.9968, allocations: 291.5 kB / 0.7613 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/1.001, allocations: 0.8021 MB / 0.7621 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.001, allocations: 51.94 kB / 0.7621 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.005, allocations: 1.959 MB / 0.764 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/1.005, allocations: 11.94 kB / 0.764 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.022, allocations: 4.341 MB / 0.7683 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.024, allocations: 0.6691 MB / 0.7689 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006729/1.025, allocations: 35.98 kB / 0.769 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00417/1.029, allocations: 291.5 kB / 0.7692 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/1.029, allocations: 112.7 kB / 0.7694 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.029, allocations: 75.92 kB / 0.7694 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004614/1.034, allocations: 1.89 MB / 0.7713 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.02e-06/1.034, allocations: 0 / 0.7713 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006341/1.04, allocations: 1.503 MB / 0.7727 GB, free: 4.504 MB / 0.5417 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,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (84): * Single equations (assignments): 78 * 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.002135/1.043, allocations: 0.8217 MB / 0.7735 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.058, allocations: 3.657 MB / 0.7771 GB, free: 4 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.783e-05/1.058, allocations: 4.484 kB / 0.7771 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/1.063, allocations: 1.051 MB / 0.7781 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008701/1.072, allocations: 1.495 MB / 0.7796 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.089, allocations: 6.013 MB / 0.7855 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002118/1.091, allocations: 1.771 MB / 0.7872 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005095/1.096, allocations: 0.6673 MB / 0.7879 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.097, allocations: 235.2 kB / 0.7881 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of SimCode: time 2.088e-06/1.097, allocations: 0 / 0.7881 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of Templates: time 0.4935/1.591, allocations: 70.59 MB / 0.857 GB, free: 181.3 MB / 0.573 GB