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.002472/0.002477, allocations: 357.7 kB / 15.95 MB, free: 6.207 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.476/1.476, allocations: 165.8 MB / 182.5 MB, free: 5.43 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.613/3.613, allocations: 410.8 MB / 0.5995 GB, free: 15.18 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.001739/0.001739, allocations: 194.2 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 8 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3297, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.08031/0.4101, allocations: 64.46 MB / 0.8711 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.435, allocations: 12.94 MB / 0.8837 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.4376, allocations: 63.56 kB / 0.8838 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.4407, allocations: 0.7258 MB / 0.8845 GB, free: 14.4 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008718/0.4495, allocations: 2.285 MB / 0.8867 GB, free: 12.11 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007575/0.4571, allocations: 1.898 MB / 0.8886 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007984/0.4651, allocations: 5.12 MB / 0.8936 GB, free: 5.102 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.4675, allocations: 1.148 MB / 0.8947 GB, free: 3.926 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.471, allocations: 1.349 MB / 0.896 GB, free: 2.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.4732, allocations: 1.143 MB / 0.8971 GB, free: 1.422 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.4736, allocations: 68 kB / 0.8972 GB, free: 1.355 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.4776, allocations: 1.091 MB / 0.8983 GB, free: 268 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.4784, allocations: 314.7 kB / 0.8986 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008553/0.4792, allocations: 400.8 kB / 0.899 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.4839, allocations: 2.474 MB / 0.9014 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.285e-06/0.484, allocations: 0 / 0.9014 GB, free: 13.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.641e-06/0.484, allocations: 4 kB / 0.9014 GB, free: 13.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.484, allocations: 0 / 0.9014 GB, free: 13.07 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004854/0.4889, allocations: 1.966 MB / 0.9033 GB, free: 11.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.489, allocations: 11.97 kB / 0.9033 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006111/0.4951, allocations: 0.7003 MB / 0.904 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/0.4989, allocations: 1.495 MB / 0.9055 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.4991, allocations: 128 kB / 0.9056 GB, free: 8.629 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.4994, allocations: 120 kB / 0.9057 GB, free: 8.512 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005536/0.505, allocations: 1.66 MB / 0.9073 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.522e-05/0.5051, allocations: 3.938 kB / 0.9073 GB, free: 6.758 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.5053, allocations: 56 kB / 0.9074 GB, free: 6.703 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.5054, allocations: 35.94 kB / 0.9074 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.5118, allocations: 1.488 MB / 0.9089 GB, free: 5.172 MB / 458.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.01477/0.5266, allocations: 6.988 MB / 0.9157 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.5299, allocations: 0.7915 MB / 0.9164 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.5321, allocations: 0.5061 MB / 0.9169 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.5339, allocations: 1.278 MB / 0.9182 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002687/0.5367, allocations: 0.6674 MB / 0.9188 GB, free: 10.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.641e-06/0.5367, allocations: 0 / 0.9188 GB, free: 10.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.01259/0.5493, allocations: 2.166 MB / 0.921 GB, free: 8.078 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.5496, allocations: 320.9 kB / 0.9213 GB, free: 7.691 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.5527, allocations: 1.379 MB / 0.9226 GB, free: 6.301 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.553, allocations: 45.7 kB / 0.9227 GB, free: 6.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/0.5539, allocations: 0.6958 MB / 0.9233 GB, free: 5.547 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.5543, allocations: 236.7 kB / 0.9236 GB, free: 5.312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.907e-05/0.5544, allocations: 20 kB / 0.9236 GB, free: 5.293 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5546, allocations: 345.9 kB / 0.9239 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.5572, allocations: 0.5133 MB / 0.9244 GB, free: 4.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.5603, allocations: 0.8364 MB / 0.9252 GB, free: 3.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.563, allocations: 0.606 MB / 0.9258 GB, free: 2.867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.5631, allocations: 8 kB / 0.9258 GB, free: 2.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.009642/0.5727, allocations: 1.834 MB / 0.9276 GB, free: 1.008 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.5731, allocations: 310.2 kB / 0.9279 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.5731, allocations: 7.953 kB / 0.9279 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.575, allocations: 367.3 kB / 0.9283 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3526/0.9276, allocations: 276.4 kB / 0.9285 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.9293, allocations: 0.8993 MB / 0.9294 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.9325, allocations: 292 kB / 0.9297 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.9328, allocations: 55.73 kB / 0.9297 GB, free: 113 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.9328, allocations: 4.469 kB / 0.9297 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00911/0.942, allocations: 1.677 MB / 0.9314 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.942, allocations: 9.484 kB / 0.9314 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.9438, allocations: 368.2 kB / 0.9317 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.9459, allocations: 278.7 kB / 0.932 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.9474, allocations: 0.9012 MB / 0.9329 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.9503, allocations: 261.1 kB / 0.9331 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.9506, allocations: 55.36 kB / 0.9332 GB, free: 112.1 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.001072/0.9517, allocations: 467 kB / 0.9336 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.9521, allocations: 150.4 kB / 0.9338 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/0.9575, allocations: 1.279 MB / 0.935 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.9576, allocations: 8.562 kB / 0.935 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.403e-06/0.9576, allocations: 0 / 0.935 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004789/0.9624, allocations: 1.08 MB / 0.9361 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009659/0.9721, allocations: 3.327 MB / 0.9393 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.9721, allocations: 7.938 kB / 0.9394 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.9738, allocations: 171.1 kB / 0.9395 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/0.9769, allocations: 365.3 kB / 0.9399 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.9772, allocations: 28.22 kB / 0.9399 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.9794, allocations: 0.8996 MB / 0.9408 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.9795, allocations: 4.531 kB / 0.9408 GB, free: 108.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.9905, allocations: 1.962 MB / 0.9427 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.9916, allocations: 392 kB / 0.9431 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.992, allocations: 31.81 kB / 0.9431 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.9943, allocations: 163 kB / 0.9432 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.9945, allocations: 71.11 kB / 0.9433 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.9947, allocations: 50.95 kB / 0.9434 GB, free: 107.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002079/0.9967, allocations: 0.971 MB / 0.9443 GB, free: 106.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.257e-06/0.9968, allocations: 3.031 kB / 0.9443 GB, free: 106.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003349/1, allocations: 0.8902 MB / 0.9452 GB, free: 106.5 MB / 474.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.001321/1.001, allocations: 0.5358 MB / 0.9457 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007799/1.009, allocations: 2.004 MB / 0.9477 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.009, allocations: 4 kB / 0.9477 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.012, allocations: 0.5674 MB / 0.9482 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/1.017, allocations: 0.7895 MB / 0.949 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006611/1.023, allocations: 3.159 MB / 0.9521 GB, free: 100.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/1.024, allocations: 1.242 MB / 0.9533 GB, free: 99.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00256/1.027, allocations: 377.3 kB / 0.9537 GB, free: 98.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/1.027, allocations: 127.3 kB / 0.9538 GB, free: 98.79 MB / 474.7 MB Notification: Performance of SimCode: time 1.916e-06/1.027, allocations: 0 / 0.9538 GB, free: 98.79 MB / 474.7 MB Notification: Performance of Templates: time 0.0692/1.096, allocations: 36.25 MB / 0.9892 GB, free: 62.94 MB / 474.7 MB