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.ScrollWaterToWater_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.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_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.01461/0.01461, allocations: 89.09 kB / 15.04 MB, free: 5.578 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.001761/0.001761, allocations: 170.3 kB / 15.92 MB, free: 5.551 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.151/2.151, allocations: 205.5 MB / 222.2 MB, free: 13.6 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.332/2.332, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006807/0.0006808, allocations: 11.78 kB / 0.6243 GB, free: 21.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2502, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.8136/1.064, allocations: 109.4 MB / 0.8348 GB, free: 38.41 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05032/1.114, allocations: 21.46 MB / 0.8558 GB, free: 38.22 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006746/1.121, allocations: 115.1 kB / 0.8559 GB, free: 38.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.009496/1.131, allocations: 1.452 MB / 0.8573 GB, free: 38.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0251/1.156, allocations: 4.08 MB / 0.8613 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01835/1.174, allocations: 3.093 MB / 0.8643 GB, free: 38.03 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01443/1.189, allocations: 5.028 MB / 0.8692 GB, free: 38.02 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005495/1.194, allocations: 2.253 MB / 0.8714 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00853/1.203, allocations: 2.398 MB / 0.8738 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/1.208, allocations: 1.573 MB / 0.8753 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009763/1.209, allocations: 128 kB / 0.8754 GB, free: 37.05 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009874/1.219, allocations: 1.86 MB / 0.8773 GB, free: 37 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001597/1.22, allocations: 0.5597 MB / 0.8778 GB, free: 36.89 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002205/1.223, allocations: 0.7254 MB / 0.8785 GB, free: 36.75 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.233, allocations: 4.593 MB / 0.883 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.233, allocations: 1.344 kB / 0.883 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.136e-06/1.233, allocations: 0 / 0.883 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001461/1.233, allocations: 0 / 0.883 GB, free: 35.37 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01047/1.244, allocations: 3.391 MB / 0.8863 GB, free: 32.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.244, allocations: 9.156 kB / 0.8863 GB, free: 32.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001107/1.245, allocations: 323.5 kB / 0.8866 GB, free: 32.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/1.266, allocations: 1.454 MB / 0.8881 GB, free: 32.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007902/1.274, allocations: 2.675 MB / 0.8907 GB, free: 30.04 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/1.275, allocations: 254 kB / 0.8909 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/1.276, allocations: 240.7 kB / 0.8911 GB, free: 29.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/1.29, allocations: 3.186 MB / 0.8942 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.931e-05/1.291, allocations: 6.719 kB / 0.8943 GB, free: 27.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005184/1.291, allocations: 103.2 kB / 0.8944 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/1.291, allocations: 65.38 kB / 0.8944 GB, free: 27.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/1.309, allocations: 2.882 MB / 0.8972 GB, free: 26.18 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.0327/1.342, allocations: 13.69 MB / 0.9106 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008417/1.35, allocations: 1.518 MB / 0.9121 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/1.353, allocations: 1.784 MB / 0.9138 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007121/1.36, allocations: 1.183 MB / 0.915 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 5.69e-06/1.36, allocations: 3.938 kB / 0.915 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130): time 0.1006/1.461, allocations: 11.81 MB / 0.9265 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/1.461, allocations: 0.5805 MB / 0.9271 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007502/1.468, allocations: 2.678 MB / 0.9297 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005836/1.469, allocations: 61.7 kB / 0.9298 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.471, allocations: 1.326 MB / 0.9311 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009797/1.472, allocations: 454.5 kB / 0.9315 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/1.473, allocations: 39.94 kB / 0.9315 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002301/1.473, allocations: 373.9 kB / 0.9319 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/1.481, allocations: 0.9954 MB / 0.9329 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008738/1.489, allocations: 1.594 MB / 0.9344 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/1.498, allocations: 1.129 MB / 0.9355 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/1.498, allocations: 0 / 0.9355 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.04675/1.544, allocations: 4.244 MB / 0.9397 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002362/1.547, allocations: 5.235 MB / 0.9448 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.434e-05/1.547, allocations: 16 kB / 0.9448 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/1.554, allocations: 1.136 MB / 0.9459 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005335/1.559, allocations: 471.2 kB / 0.9463 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007332/1.567, allocations: 2.377 MB / 0.9487 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00971/1.577, allocations: 423.2 kB / 0.9491 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/1.577, allocations: 107.8 kB / 0.9492 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.577, allocations: 8 kB / 0.9492 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04529/1.623, allocations: 3.945 MB / 0.953 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-05/1.623, allocations: 12 kB / 0.953 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/1.629, allocations: 1.138 MB / 0.9542 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/1.635, allocations: 463.7 kB / 0.9546 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/1.642, allocations: 2.376 MB / 0.9569 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008754/1.651, allocations: 382 kB / 0.9573 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/1.652, allocations: 111.9 kB / 0.9574 GB, free: 1.254 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 (164): * Single equations (assignments): 161 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002814/1.654, allocations: 0.7027 MB / 0.9581 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.656, allocations: 279.1 kB / 0.9583 GB, free: 276 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/1.687, allocations: 3.036 MB / 0.9613 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.687, allocations: 19.95 kB / 0.9613 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.687, allocations: 4 kB / 0.9613 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02953/1.717, allocations: 2.638 MB / 0.9639 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04093/1.758, allocations: 7.002 MB / 0.9707 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/1.758, allocations: 8 kB / 0.9707 GB, free: 3.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/1.761, allocations: 284.1 kB / 0.971 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00602/1.767, allocations: 0.9811 MB / 0.972 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/1.768, allocations: 51.94 kB / 0.972 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00619/1.774, allocations: 2.155 MB / 0.9741 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.774, allocations: 11.94 kB / 0.9741 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0384/1.813, allocations: 4.987 MB / 0.979 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/1.815, allocations: 0.6691 MB / 0.9797 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.817, allocations: 36 kB / 0.9797 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007466/1.824, allocations: 295.3 kB / 0.98 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/1.825, allocations: 120.7 kB / 0.9801 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003484/1.825, allocations: 67.94 kB / 0.9802 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.006306/1.831, allocations: 1.89 MB / 0.982 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.831, allocations: 4 kB / 0.982 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01008/1.841, allocations: 1.546 MB / 0.9835 GB, free: 5.875 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 (80): * Single equations (assignments): 74 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.04261/1.884, allocations: 7.977 MB / 0.9913 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0256/1.91, allocations: 3.76 MB / 0.995 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/1.91, allocations: 5 kB / 0.995 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007876/1.918, allocations: 1.109 MB / 0.9961 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0133/1.931, allocations: 1.489 MB / 0.9975 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.96, allocations: 15.98 MB / 1.013 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/1.963, allocations: 1.762 MB / 1.015 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006339/1.969, allocations: 0.6514 MB / 1.015 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003247/1.972, allocations: 1.159 MB / 1.017 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/1.972, allocations: 2.516 kB / 1.017 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2567/2.229, allocations: 96.09 MB / 1.11 GB, free: 4 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/2.229, allocations: 266.3 kB / 1.111 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/9.821, allocations: 0 / 1.111 GB, free: 3.645 MB / 0.8386 GB