Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01568/0.01568, allocations: 106.4 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001834/0.001834, allocations: 181.7 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.102/2.102, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.384/2.384, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004917, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7184, allocations: 98.72 MB / 0.6834 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.2531/0.9715, allocations: 104.3 MB / 0.7853 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03046/1.002, allocations: 13.15 MB / 0.7982 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/1.005, allocations: 63.5 kB / 0.7982 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004755/1.01, allocations: 0.8239 MB / 0.799 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/1.021, allocations: 2.212 MB / 0.8012 GB, free: 5.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009113/1.03, allocations: 1.836 MB / 0.803 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007575/1.038, allocations: 2.721 MB / 0.8056 GB, free: 1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003322/1.041, allocations: 1.225 MB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/1.046, allocations: 1.3 MB / 0.8081 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/1.048, allocations: 0.8664 MB / 0.8089 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006584/1.049, allocations: 72 kB / 0.809 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/1.055, allocations: 1.315 MB / 0.8103 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009881/1.056, allocations: 322.7 kB / 0.8106 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.057, allocations: 412.7 kB / 0.811 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006607/1.064, allocations: 2.591 MB / 0.8135 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.064, allocations: 4 kB / 0.8135 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.557e-06/1.064, allocations: 0 / 0.8135 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001002/1.064, allocations: 0 / 0.8135 GB, free: 8.863 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007002/1.071, allocations: 2.115 MB / 0.8156 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.071, allocations: 12.03 kB / 0.8156 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000736/1.072, allocations: 189.8 kB / 0.8158 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/1.083, allocations: 0.7508 MB / 0.8165 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/1.088, allocations: 1.55 MB / 0.818 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/1.088, allocations: 132.1 kB / 0.8182 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/1.089, allocations: 128 kB / 0.8183 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007706/1.096, allocations: 1.708 MB / 0.82 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/1.096, allocations: 4 kB / 0.82 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/1.097, allocations: 48 kB / 0.82 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.019e-05/1.097, allocations: 43.98 kB / 0.82 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009678/1.106, allocations: 1.519 MB / 0.8215 GB, free: 416 kB / 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.01896/1.125, allocations: 7.545 MB / 0.8289 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/1.134, allocations: 1.188 MB / 0.8301 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002093/1.136, allocations: 1.279 MB / 0.8313 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004472/1.141, allocations: 0.6796 MB / 0.832 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 6.512e-06/1.141, allocations: 4 kB / 0.832 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78): time 0.03677/1.178, allocations: 3.156 MB / 0.8351 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.178, allocations: 145.1 kB / 0.8352 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.181, allocations: 1.308 MB / 0.8365 GB, free: 332 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/1.181, allocations: 49.69 kB / 0.8365 GB, free: 276 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.182, allocations: 0.7385 MB / 0.8372 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/1.183, allocations: 268.1 kB / 0.8375 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.183, allocations: 20 kB / 0.8375 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.183, allocations: 345.9 kB / 0.8378 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004077/1.187, allocations: 0.5406 MB / 0.8384 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/1.192, allocations: 0.8271 MB / 0.8392 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004251/1.196, allocations: 0.6292 MB / 0.8398 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.196, allocations: 11.89 kB / 0.8398 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01067/1.207, allocations: 1.743 MB / 0.8415 GB, free: 11 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/1.208, allocations: 2.61 MB / 0.8441 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/1.208, allocations: 4 kB / 0.8441 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/1.212, allocations: 0.5575 MB / 0.8446 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.215, allocations: 251.6 kB / 0.8448 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/1.218, allocations: 1.176 MB / 0.846 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/1.223, allocations: 246.6 kB / 0.8462 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/1.223, allocations: 67.89 kB / 0.8463 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.223, allocations: 4 kB / 0.8463 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/1.233, allocations: 1.603 MB / 0.8479 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/1.233, allocations: 8 kB / 0.8479 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/1.237, allocations: 0.5427 MB / 0.8484 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.24, allocations: 251.6 kB / 0.8486 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/1.243, allocations: 1.173 MB / 0.8498 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/1.247, allocations: 238.8 kB / 0.85 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/1.247, allocations: 67.98 kB / 0.8501 GB, free: 2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (94): * Single equations (assignments): 92 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001304/1.249, allocations: 469.5 kB / 0.8505 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/1.249, allocations: 146.3 kB / 0.8507 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/1.259, allocations: 1.559 MB / 0.8522 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.26, allocations: 11.95 kB / 0.8522 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.26, allocations: 0 / 0.8522 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009189/1.269, allocations: 1.395 MB / 0.8536 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.284, allocations: 3.6 MB / 0.8571 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.284, allocations: 7.938 kB / 0.8571 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.287, allocations: 175.8 kB / 0.8573 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/1.29, allocations: 0.5212 MB / 0.8578 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/1.291, allocations: 35.94 kB / 0.8578 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/1.294, allocations: 1.171 MB / 0.8589 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.294, allocations: 0 / 0.8589 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009904/1.304, allocations: 1.639 MB / 0.8605 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.305, allocations: 402.9 kB / 0.8609 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/1.306, allocations: 15.94 kB / 0.8609 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/1.31, allocations: 160.3 kB / 0.8611 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/1.31, allocations: 64.47 kB / 0.8612 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.31, allocations: 48.03 kB / 0.8612 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002315/1.313, allocations: 0.8866 MB / 0.8621 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.42e-07/1.313, allocations: 0 / 0.8621 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0052/1.318, allocations: 1.025 MB / 0.8631 GB, free: 4.352 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (52): * Single equations (assignments): 47 * 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.0139/1.332, allocations: 3.328 MB / 0.8663 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.346, allocations: 2.215 MB / 0.8685 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.346, allocations: 8.125 kB / 0.8685 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.351, allocations: 0.6239 MB / 0.8691 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006741/1.358, allocations: 0.7366 MB / 0.8698 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.373, allocations: 8.376 MB / 0.878 GB, free: 4.965 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.375, allocations: 1.29 MB / 0.8793 GB, free: 3.648 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003176/1.378, allocations: 371.9 kB / 0.8796 GB, free: 3.281 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.38, allocations: 0.6203 MB / 0.8802 GB, free: 2.664 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.38, allocations: 4 kB / 0.8802 GB, free: 2.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7114/2.091, allocations: 51.22 MB / 0.9302 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/2.091, allocations: 290.3 kB / 0.9305 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.183/7.274, allocations: 0 / 0.9305 GB, free: 206.2 MB / 0.7292 GB