Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.569/2.569, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 171.9 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.6301 GB, free: 10.29 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 100.3 kB / 0.7434 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07835/0.2283, allocations: 58.55 MB / 1.036 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.2513, allocations: 12.18 MB / 1.048 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.2537, allocations: 63.56 kB / 1.048 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2566, allocations: 0.7928 MB / 1.049 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.2646, allocations: 2.18 MB / 1.051 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007377/0.272, allocations: 1.91 MB / 1.053 GB, free: 360 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005841/0.2779, allocations: 2.656 MB / 1.055 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.2803, allocations: 1.18 MB / 1.056 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.2837, allocations: 1.269 MB / 1.058 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.2854, allocations: 0.8361 MB / 1.058 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.2858, allocations: 68 kB / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.2898, allocations: 1.17 MB / 1.06 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.2904, allocations: 310.8 kB / 1.06 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007552/0.2912, allocations: 404.8 kB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.2958, allocations: 2.447 MB / 1.063 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.477e-06/0.2958, allocations: 0 / 1.063 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.628e-06/0.2958, allocations: 0 / 1.063 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.2959, allocations: 0 / 1.063 GB, free: 5.98 MB / 0.6823 GB 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.004707/0.3006, allocations: 1.974 MB / 1.065 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3006, allocations: 12.03 kB / 1.065 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/0.3067, allocations: 0.6887 MB / 1.065 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.3102, allocations: 1.437 MB / 1.067 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.3105, allocations: 128 kB / 1.067 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.3108, allocations: 131.9 kB / 1.067 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5642/0.875, allocations: 1.631 MB / 1.069 GB, free: 90.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.8751, allocations: 6.312 kB / 1.069 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.8754, allocations: 52.47 kB / 1.069 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-05/0.8755, allocations: 36.59 kB / 1.069 GB, free: 90.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006575/0.8821, allocations: 1.494 MB / 1.07 GB, free: 89.95 MB / 0.6823 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.01264/0.8947, allocations: 7.019 MB / 1.077 GB, free: 85.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.8978, allocations: 0.7942 MB / 1.078 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.899, allocations: 1.27 MB / 1.079 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002887/0.9019, allocations: 0.6591 MB / 1.08 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.803e-06/0.902, allocations: 0 / 1.08 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.01241/0.9144, allocations: 2.164 MB / 1.082 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.9145, allocations: 321.9 kB / 1.082 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.9176, allocations: 1.418 MB / 1.083 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.9179, allocations: 49.95 kB / 1.083 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006866/0.9186, allocations: 0.6999 MB / 1.084 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.9189, allocations: 238.6 kB / 1.084 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.919, allocations: 20 kB / 1.084 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.9191, allocations: 348.5 kB / 1.085 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/0.9217, allocations: 0.5179 MB / 1.085 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.9245, allocations: 0.8342 MB / 1.086 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.9271, allocations: 0.6009 MB / 1.087 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.9271, allocations: 2.188 kB / 1.087 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01102/0.9382, allocations: 1.828 MB / 1.088 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006833/0.9389, allocations: 2.522 MB / 1.091 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.939, allocations: 9.5 kB / 1.091 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.9419, allocations: 364.2 kB / 1.091 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/0.945, allocations: 281.7 kB / 1.092 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.9475, allocations: 0.9008 MB / 1.092 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/0.9529, allocations: 294.9 kB / 1.093 GB, free: 75.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.9534, allocations: 60.09 kB / 1.093 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.9534, allocations: 5.469 kB / 1.093 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01513/0.9686, allocations: 1.682 MB / 1.094 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.395e-05/0.9686, allocations: 5.906 kB / 1.094 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.9715, allocations: 370.2 kB / 1.095 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.9746, allocations: 279.7 kB / 1.095 GB, free: 75.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.9769, allocations: 0.9025 MB / 1.096 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/0.9814, allocations: 272.3 kB / 1.096 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/0.9817, allocations: 56.23 kB / 1.096 GB, free: 74.28 MB / 0.6823 GB 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.001487/0.9832, allocations: 456.5 kB / 1.097 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/0.9837, allocations: 146.6 kB / 1.097 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.9947, allocations: 1.284 MB / 1.098 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/0.9948, allocations: 8.188 kB / 1.098 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.9948, allocations: 1.312 kB / 1.098 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008536/1.003, allocations: 1.085 MB / 1.099 GB, free: 72.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.015, allocations: 3.348 MB / 1.102 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.015, allocations: 4.188 kB / 1.102 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.016, allocations: 170.1 kB / 1.103 GB, free: 70.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/1.018, allocations: 363.2 kB / 1.103 GB, free: 70.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.018, allocations: 29.98 kB / 1.103 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.019, allocations: 0.8963 MB / 1.104 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.019, allocations: 9.531 kB / 1.104 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007406/1.026, allocations: 2.242 MB / 1.106 GB, free: 68.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.028, allocations: 410.3 kB / 1.106 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.028, allocations: 23.88 kB / 1.106 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.03, allocations: 153.8 kB / 1.107 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.03, allocations: 71.23 kB / 1.107 GB, free: 67.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.03, allocations: 44.39 kB / 1.107 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002171/1.033, allocations: 1.012 MB / 1.108 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.74e-07/1.033, allocations: 0 / 1.108 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003649/1.036, allocations: 0.907 MB / 1.109 GB, free: 67.12 MB / 0.6823 GB 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.001413/1.038, allocations: 0.5619 MB / 1.109 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008475/1.046, allocations: 2.016 MB / 1.111 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.046, allocations: 1.625 kB / 1.111 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.049, allocations: 0.5717 MB / 1.112 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/1.053, allocations: 0.785 MB / 1.112 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/1.061, allocations: 3.145 MB / 1.115 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/1.061, allocations: 1.245 MB / 1.117 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002745/1.064, allocations: 384.4 kB / 1.117 GB, free: 62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/1.065, allocations: 129.2 kB / 1.117 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.733e-06/1.065, allocations: 0 / 1.117 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.07188/1.137, allocations: 36.95 MB / 1.153 GB, free: 30.91 MB / 0.6823 GB