Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009944/0.00995, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001195/0.001194, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.385/2.385, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.451/2.451, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 16.89 kB / 0.6243 GB, free: 21.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2248, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.7937/1.019, allocations: 109.3 MB / 0.8348 GB, free: 38.48 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04417/1.063, allocations: 21.53 MB / 0.8558 GB, free: 38.28 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005679/1.069, allocations: 111.3 kB / 0.8559 GB, free: 38.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007493/1.076, allocations: 1.457 MB / 0.8574 GB, free: 38.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01961/1.096, allocations: 4.073 MB / 0.8613 GB, free: 38.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01503/1.111, allocations: 3.104 MB / 0.8644 GB, free: 38.1 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01431/1.125, allocations: 5.065 MB / 0.8693 GB, free: 38.08 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006123/1.131, allocations: 2.265 MB / 0.8715 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009576/1.141, allocations: 2.419 MB / 0.8739 GB, free: 37.51 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005345/1.146, allocations: 1.579 MB / 0.8754 GB, free: 37.12 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001229/1.148, allocations: 130.1 kB / 0.8756 GB, free: 37.12 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/1.158, allocations: 1.863 MB / 0.8774 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001833/1.16, allocations: 0.5573 MB / 0.8779 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/1.163, allocations: 0.7395 MB / 0.8786 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.174, allocations: 4.61 MB / 0.8831 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.174, allocations: 1.156 kB / 0.8831 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.337e-06/1.174, allocations: 0 / 0.8831 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001813/1.174, allocations: 0 / 0.8831 GB, free: 35.29 MB / 0.6511 GB 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.01178/1.186, allocations: 3.403 MB / 0.8865 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.186, allocations: 10.03 kB / 0.8865 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001282/1.188, allocations: 328.5 kB / 0.8868 GB, free: 32.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01918/1.207, allocations: 1.367 MB / 0.8881 GB, free: 32.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/1.215, allocations: 2.678 MB / 0.8907 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/1.216, allocations: 254.9 kB / 0.891 GB, free: 29.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009341/1.217, allocations: 242.3 kB / 0.8912 GB, free: 29.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/1.23, allocations: 3.143 MB / 0.8943 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.541e-05/1.231, allocations: 7.219 kB / 0.8943 GB, free: 27.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005493/1.231, allocations: 99.06 kB / 0.8944 GB, free: 27.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.231, allocations: 75.95 kB / 0.8945 GB, free: 27.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/1.248, allocations: 2.812 MB / 0.8972 GB, free: 26.17 MB / 0.6511 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.0328/1.281, allocations: 13.65 MB / 0.9105 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007807/1.289, allocations: 1.447 MB / 0.9119 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/1.291, allocations: 1.791 MB / 0.9137 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006549/1.298, allocations: 1.116 MB / 0.9148 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 5.721e-06/1.298, allocations: 4 kB / 0.9148 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130): time 0.05873/1.357, allocations: 9.717 MB / 0.9243 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/1.357, allocations: 0.5766 MB / 0.9248 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/1.364, allocations: 2.69 MB / 0.9275 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005283/1.364, allocations: 61.7 kB / 0.9275 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.367, allocations: 1.361 MB / 0.9289 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/1.368, allocations: 442.6 kB / 0.9293 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/1.368, allocations: 36 kB / 0.9293 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.368, allocations: 377.8 kB / 0.9297 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007247/1.375, allocations: 0.9446 MB / 0.9306 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008179/1.384, allocations: 1.539 MB / 0.9321 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007557/1.391, allocations: 1.088 MB / 0.9332 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.391, allocations: 8 kB / 0.9332 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02095/1.412, allocations: 3.108 MB / 0.9362 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002585/1.415, allocations: 5.24 MB / 0.9413 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/1.415, allocations: 12 kB / 0.9413 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/1.42, allocations: 0.8824 MB / 0.9422 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005336/1.426, allocations: 479.2 kB / 0.9426 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/1.431, allocations: 2.193 MB / 0.9448 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009232/1.44, allocations: 403.2 kB / 0.9452 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000671/1.441, allocations: 107.9 kB / 0.9453 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.441, allocations: 4.781 kB / 0.9453 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01929/1.46, allocations: 2.806 MB / 0.948 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/1.461, allocations: 14.75 kB / 0.948 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005043/1.466, allocations: 0.9047 MB / 0.9489 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/1.471, allocations: 471.2 kB / 0.9494 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005392/1.476, allocations: 2.202 MB / 0.9515 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008376/1.485, allocations: 367.3 kB / 0.9519 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006743/1.485, allocations: 103.9 kB / 0.952 GB, free: 6.828 MB / 0.6823 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.00257/1.488, allocations: 0.7037 MB / 0.9527 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.489, allocations: 280.6 kB / 0.9529 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.506, allocations: 2.375 MB / 0.9552 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.984e-05/1.506, allocations: 12 kB / 0.9553 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.506, allocations: 4 kB / 0.9553 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0167/1.523, allocations: 1.982 MB / 0.9572 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03837/1.561, allocations: 6.211 MB / 0.9633 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/1.562, allocations: 8 kB / 0.9633 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004976/1.566, allocations: 283.6 kB / 0.9635 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006402/1.573, allocations: 0.7604 MB / 0.9643 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004115/1.573, allocations: 51.94 kB / 0.9643 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006248/1.58, allocations: 1.949 MB / 0.9662 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-05/1.58, allocations: 15.89 kB / 0.9662 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02903/1.609, allocations: 4.323 MB / 0.9705 GB, free: 3.266 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002869/1.612, allocations: 0.6573 MB / 0.9711 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.613, allocations: 40.08 kB / 0.9712 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007021/1.62, allocations: 281.1 kB / 0.9714 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/1.62, allocations: 128.6 kB / 0.9715 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003157/1.621, allocations: 67.92 kB / 0.9716 GB, free: 2.082 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005698/1.627, allocations: 1.894 MB / 0.9735 GB, free: 192 kB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.627, allocations: 0 / 0.9735 GB, free: 192 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.009007/1.636, allocations: 1.542 MB / 0.975 GB, free: 14.64 MB / 0.7136 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.02832/1.664, allocations: 7.329 MB / 0.9821 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02356/1.688, allocations: 3.646 MB / 0.9857 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.062e-05/1.688, allocations: 4 kB / 0.9857 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.007182/1.695, allocations: 1.065 MB / 0.9867 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/1.709, allocations: 1.496 MB / 0.9882 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/1.741, allocations: 16.19 MB / 1.004 GB, free: 224 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.743, allocations: 1.773 MB / 1.006 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006057/1.749, allocations: 0.6442 MB / 1.006 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/1.753, allocations: 1.179 MB / 1.008 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of SimCode: time 1.974e-06/1.753, allocations: 3.938 kB / 1.008 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2608/2.013, allocations: 94.27 MB / 1.1 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/2.014, allocations: 285.9 kB / 1.1 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/9.178, allocations: 64 / 1.1 GB, free: 14.83 MB / 0.8386 GB