Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 186.6 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 100.8 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 12.31 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07095/0.2844, allocations: 58.56 MB / 0.9561 GB, free: 6.777 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.3099, allocations: 12.45 MB / 0.9682 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.3127, allocations: 55.62 kB / 0.9683 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.3168, allocations: 0.7928 MB / 0.969 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.3273, allocations: 2.177 MB / 0.9712 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009388/0.3367, allocations: 1.905 MB / 0.973 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007343/0.344, allocations: 2.652 MB / 0.9756 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.3469, allocations: 1.156 MB / 0.9768 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.3512, allocations: 1.269 MB / 0.978 GB, free: 276 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.3535, allocations: 0.8283 MB / 0.9788 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.354, allocations: 72 kB / 0.9789 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.3591, allocations: 1.276 MB / 0.9801 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.36, allocations: 298.8 kB / 0.9804 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009154/0.3609, allocations: 400.8 kB / 0.9808 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006127/0.367, allocations: 2.494 MB / 0.9832 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3671, allocations: 0 / 0.9832 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3671, allocations: 0 / 0.9832 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.808e-05/0.3672, allocations: 4 kB / 0.9832 GB, free: 10.89 MB / 0.6355 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.006289/0.3735, allocations: 1.99 MB / 0.9852 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3735, allocations: 8.031 kB / 0.9852 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009717/0.3833, allocations: 0.6964 MB / 0.9859 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004532/0.3879, allocations: 1.445 MB / 0.9873 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.3881, allocations: 128 kB / 0.9874 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003835/0.3885, allocations: 124 kB / 0.9875 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00784/0.3964, allocations: 1.629 MB / 0.9891 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.859e-05/0.3965, allocations: 3.938 kB / 0.9891 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.3967, allocations: 51.98 kB / 0.9892 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/0.3968, allocations: 35.98 kB / 0.9892 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00942/0.4063, allocations: 1.496 MB / 0.9906 GB, free: 3.059 MB / 0.6355 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.01867/0.425, allocations: 7.008 MB / 0.9975 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.4297, allocations: 0.7868 MB / 0.9983 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.432, allocations: 1.274 MB / 0.9995 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003853/0.4359, allocations: 0.6519 MB / 1 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.739e-06/0.436, allocations: 0 / 1 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.01995/0.4559, allocations: 2.162 MB / 1.002 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.4562, allocations: 321 kB / 1.003 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.4601, allocations: 1.422 MB / 1.004 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/0.4604, allocations: 41.7 kB / 1.004 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/0.4614, allocations: 0.692 MB / 1.005 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.4619, allocations: 244.6 kB / 1.005 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.462, allocations: 20 kB / 1.005 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4622, allocations: 345.9 kB / 1.005 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.4661, allocations: 0.5172 MB / 1.006 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004392/0.4706, allocations: 0.8325 MB / 1.007 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/0.4747, allocations: 0.606 MB / 1.007 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.4748, allocations: 0 / 1.007 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01475/0.4895, allocations: 1.833 MB / 1.009 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.4909, allocations: 2.518 MB / 1.011 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.4909, allocations: 8 kB / 1.011 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.4932, allocations: 349.9 kB / 1.012 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.4963, allocations: 279.5 kB / 1.012 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.4986, allocations: 0.909 MB / 1.013 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.5034, allocations: 295.4 kB / 1.013 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003332/0.5038, allocations: 55.94 kB / 1.013 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5038, allocations: 4 kB / 1.013 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01419/0.518, allocations: 1.689 MB / 1.015 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.5181, allocations: 7.984 kB / 1.015 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.5202, allocations: 351.6 kB / 1.015 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/0.5233, allocations: 275.5 kB / 1.015 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5255, allocations: 0.904 MB / 1.016 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.5299, allocations: 270.7 kB / 1.017 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.5303, allocations: 55.94 kB / 1.017 GB, free: 7.234 MB / 0.6667 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.00124/0.5315, allocations: 458.6 kB / 1.017 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.532, allocations: 142.3 kB / 1.017 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/0.54, allocations: 1.279 MB / 1.019 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.5401, allocations: 15.98 kB / 1.019 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5401, allocations: 3.938 kB / 1.019 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00683/0.5469, allocations: 1.076 MB / 1.02 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.5607, allocations: 3.326 MB / 1.023 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/0.5607, allocations: 11.92 kB / 1.023 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.5628, allocations: 176 kB / 1.023 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.565, allocations: 334.2 kB / 1.023 GB, free: 256 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.5652, allocations: 36.02 kB / 1.023 GB, free: 220 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.5672, allocations: 0.8913 MB / 1.024 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.5673, allocations: 11.94 kB / 1.024 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.5789, allocations: 2.246 MB / 1.026 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/0.5811, allocations: 406.9 kB / 1.027 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009375/0.5821, allocations: 20 kB / 1.027 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006244/0.5884, allocations: 162.1 kB / 1.027 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004005/0.5888, allocations: 64.25 kB / 1.027 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/0.5891, allocations: 39.95 kB / 1.027 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005053/0.5942, allocations: 1.021 MB / 1.028 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.502e-06/0.5942, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006989/0.6012, allocations: 0.9514 MB / 1.029 GB, free: 10.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.003179/0.6045, allocations: 0.5994 MB / 1.03 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01934/0.6239, allocations: 2.007 MB / 1.032 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.624, allocations: 4.188 kB / 1.032 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005808/0.6298, allocations: 0.5677 MB / 1.032 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/0.6409, allocations: 0.7782 MB / 1.033 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.657, allocations: 3.159 MB / 1.036 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.6588, allocations: 1.238 MB / 1.037 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004765/0.6636, allocations: 381 kB / 1.038 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.6648, allocations: 127.3 kB / 1.038 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of SimCode: time 2.054e-06/0.6648, allocations: 3.938 kB / 1.038 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of Templates: time 0.7368/1.402, allocations: 36.94 MB / 1.074 GB, free: 87.05 MB / 0.698 GB