Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",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.01005/0.01005, allocations: 88.84 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.001245/0.001245, allocations: 172.8 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.189/2.189, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.35/2.35, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005017, allocations: 17.92 kB / 0.6243 GB, free: 21.26 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.8698/1.093, allocations: 105.5 MB / 0.8311 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02792/1.121, allocations: 13.2 MB / 0.844 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00336/1.124, allocations: 60.84 kB / 0.844 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004498/1.129, allocations: 0.8259 MB / 0.8448 GB, free: 68.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/1.14, allocations: 2.215 MB / 0.847 GB, free: 67.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009862/1.15, allocations: 1.977 MB / 0.8489 GB, free: 67.91 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007766/1.158, allocations: 2.711 MB / 0.8516 GB, free: 67.91 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/1.162, allocations: 1.232 MB / 0.8528 GB, free: 67.76 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/1.166, allocations: 1.306 MB / 0.8541 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/1.169, allocations: 0.8586 MB / 0.8549 GB, free: 67.43 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006769/1.17, allocations: 70.19 kB / 0.855 GB, free: 67.43 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006542/1.177, allocations: 1.311 MB / 0.8562 GB, free: 67.4 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.178, allocations: 332.8 kB / 0.8566 GB, free: 67.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/1.179, allocations: 415.1 kB / 0.857 GB, free: 67.25 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007066/1.186, allocations: 2.613 MB / 0.8595 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.186, allocations: 5.25 kB / 0.8595 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.429e-06/1.186, allocations: 3.047 kB / 0.8595 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001162/1.186, allocations: 0 / 0.8595 GB, free: 67.05 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007988/1.194, allocations: 2.068 MB / 0.8615 GB, free: 65.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.194, allocations: 9.5 kB / 0.8615 GB, free: 65.87 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008812/1.195, allocations: 187.5 kB / 0.8617 GB, free: 65.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.206, allocations: 0.7536 MB / 0.8625 GB, free: 65.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/1.212, allocations: 1.526 MB / 0.8639 GB, free: 65.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/1.212, allocations: 137.4 kB / 0.8641 GB, free: 65.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/1.212, allocations: 125.3 kB / 0.8642 GB, free: 65.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007942/1.22, allocations: 1.717 MB / 0.8659 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/1.22, allocations: 5.156 kB / 0.8659 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/1.221, allocations: 53.44 kB / 0.8659 GB, free: 64.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/1.221, allocations: 40.16 kB / 0.866 GB, free: 64.44 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/1.231, allocations: 1.525 MB / 0.8675 GB, free: 63.9 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.01891/1.25, allocations: 7.577 MB / 0.8749 GB, free: 57.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008078/1.258, allocations: 1.193 MB / 0.876 GB, free: 56.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/1.26, allocations: 1.277 MB / 0.8773 GB, free: 55.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004469/1.264, allocations: 0.6921 MB / 0.8779 GB, free: 54.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.058e-06/1.264, allocations: 0 / 0.8779 GB, free: 54.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.03905/1.303, allocations: 3.222 MB / 0.8811 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.303, allocations: 144.9 kB / 0.8812 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.306, allocations: 1.304 MB / 0.8825 GB, free: 52.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004048/1.307, allocations: 44.58 kB / 0.8825 GB, free: 52.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/1.308, allocations: 0.7253 MB / 0.8833 GB, free: 51.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/1.308, allocations: 280.1 kB / 0.8835 GB, free: 51.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.308, allocations: 15.41 kB / 0.8835 GB, free: 51.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/1.308, allocations: 342.8 kB / 0.8839 GB, free: 51.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/1.313, allocations: 0.5307 MB / 0.8844 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/1.317, allocations: 0.81 MB / 0.8852 GB, free: 50.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.321, allocations: 0.5796 MB / 0.8857 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/1.321, allocations: 0 / 0.8857 GB, free: 50.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.009687/1.33, allocations: 1.669 MB / 0.8874 GB, free: 49.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004988/1.331, allocations: 2.4 MB / 0.8897 GB, free: 46.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.331, allocations: 12.75 kB / 0.8897 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/1.334, allocations: 0.5538 MB / 0.8903 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.337, allocations: 258.4 kB / 0.8905 GB, free: 46.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/1.34, allocations: 1.17 MB / 0.8917 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/1.345, allocations: 244.2 kB / 0.8919 GB, free: 45.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/1.345, allocations: 58.59 kB / 0.8919 GB, free: 45.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.345, allocations: 6.25 kB / 0.8919 GB, free: 45.36 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009059/1.354, allocations: 1.502 MB / 0.8934 GB, free: 44.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.354, allocations: 6.594 kB / 0.8934 GB, free: 44.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/1.357, allocations: 0.5547 MB / 0.894 GB, free: 44.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.36, allocations: 249.8 kB / 0.8942 GB, free: 44.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/1.363, allocations: 1.168 MB / 0.8953 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/1.367, allocations: 231 kB / 0.8956 GB, free: 43.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/1.367, allocations: 62.36 kB / 0.8956 GB, free: 43.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001414/1.369, allocations: 467.2 kB / 0.8961 GB, free: 42.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/1.369, allocations: 152.5 kB / 0.8962 GB, free: 42.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/1.393, allocations: 2.164 MB / 0.8983 GB, free: 41.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/1.393, allocations: 11.52 kB / 0.8983 GB, free: 41.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.393, allocations: 6.578 kB / 0.8983 GB, free: 41.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02321/1.417, allocations: 1.995 MB / 0.9003 GB, free: 40.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.431, allocations: 3.67 MB / 0.9039 GB, free: 36.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.431, allocations: 4 kB / 0.9039 GB, free: 36.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/1.433, allocations: 187.8 kB / 0.9041 GB, free: 36.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.436, allocations: 0.5314 MB / 0.9046 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/1.437, allocations: 31.95 kB / 0.9046 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/1.44, allocations: 1.166 MB / 0.9057 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.44, allocations: 7.938 kB / 0.9058 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009105/1.449, allocations: 1.692 MB / 0.9074 GB, free: 32.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.45, allocations: 414.8 kB / 0.9078 GB, free: 32.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.451, allocations: 23.94 kB / 0.9078 GB, free: 32.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/1.455, allocations: 159.8 kB / 0.908 GB, free: 32.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.455, allocations: 52.58 kB / 0.908 GB, free: 32.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.455, allocations: 55.92 kB / 0.9081 GB, free: 32.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001844/1.457, allocations: 0.8944 MB / 0.909 GB, free: 31.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.457, allocations: 0 / 0.909 GB, free: 31.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004395/1.461, allocations: 1.016 MB / 0.9099 GB, free: 30.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01243/1.474, allocations: 3.501 MB / 0.9134 GB, free: 26.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.487, allocations: 2.05 MB / 0.9154 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.487, allocations: 4 kB / 0.9154 GB, free: 24.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/1.491, allocations: 0.6283 MB / 0.916 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006632/1.498, allocations: 0.7428 MB / 0.9167 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.511, allocations: 8.115 MB / 0.9246 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/1.512, allocations: 1.29 MB / 0.9259 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00306/1.515, allocations: 371.9 kB / 0.9262 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.517, allocations: 0.6242 MB / 0.9269 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of SimCode: time 3.607e-06/1.517, allocations: 3.938 kB / 0.9269 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/1.717, allocations: 51.2 MB / 0.9769 GB, free: 10.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003852/1.717, allocations: 271.5 kB / 0.9771 GB, free: 9.797 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.974/6.692, allocations: 4 kB / 0.9771 GB, free: 9.793 MB / 0.698 GB