Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.004/4.004, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.741e-05, allocations: 4.828 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.231, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.4656, allocations: 127.4 MB / 0.7592 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.466, allocations: 95.88 kB / 0.7593 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.48, allocations: 3.224 MB / 0.7624 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/0.48, allocations: 0 / 0.7624 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.4801, allocations: 4 kB / 0.7624 GB, free: 14.96 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009092/0.481, allocations: 485.6 kB / 0.7629 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4811, allocations: 8.031 kB / 0.7629 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.654e-05/0.4812, allocations: 54.55 kB / 0.7629 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.4812, allocations: 31.66 kB / 0.763 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4816, allocations: 231.6 kB / 0.7632 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.4816, allocations: 8 kB / 0.7632 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.4817, allocations: 16 kB / 0.7632 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.4822, allocations: 212.8 kB / 0.7634 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4822, allocations: 7.875 kB / 0.7634 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4823, allocations: 8 kB / 0.7634 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.4823, allocations: 4 kB / 0.7634 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.4827, allocations: 123.7 kB / 0.7636 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.484, allocations: 0.613 MB / 0.7642 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.4845, allocations: 122.7 kB / 0.7643 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4847, allocations: 44.8 kB / 0.7643 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.4847, allocations: 0 / 0.7643 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4848, allocations: 34.56 kB / 0.7644 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.4848, allocations: 0 / 0.7644 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003746/0.4852, allocations: 113.6 kB / 0.7645 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.4853, allocations: 136.5 kB / 0.7646 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.4856, allocations: 195.2 kB / 0.7648 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.4856, allocations: 33.7 kB / 0.7648 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4857, allocations: 144.2 kB / 0.7649 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.4858, allocations: 31.55 kB / 0.765 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.4858, allocations: 0 / 0.765 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.486, allocations: 326.8 kB / 0.7653 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4861, allocations: 39.94 kB / 0.7653 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4863, allocations: 75.42 kB / 0.7654 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.4864, allocations: 32.33 kB / 0.7654 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4864, allocations: 0 / 0.7654 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003421/0.4868, allocations: 133.5 kB / 0.7656 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4868, allocations: 4 kB / 0.7656 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4868, allocations: 0 / 0.7656 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4869, allocations: 4 kB / 0.7656 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4871, allocations: 19.92 kB / 0.7656 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4871, allocations: 4 kB / 0.7656 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.4874, allocations: 39.88 kB / 0.7656 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.4874, allocations: 4 kB / 0.7656 GB, free: 11.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.4876, allocations: 119.4 kB / 0.7657 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.4876, allocations: 19.77 kB / 0.7658 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.488, allocations: 135.1 kB / 0.7659 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.488, allocations: 7.984 kB / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.4881, allocations: 0 / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4881, allocations: 3.938 kB / 0.7659 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.4885, allocations: 269.7 kB / 0.7662 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4885, allocations: 0 / 0.7662 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.4887, allocations: 27.86 kB / 0.7662 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.4888, allocations: 7.953 kB / 0.7662 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.4888, allocations: 3.984 kB / 0.7662 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4888, allocations: 4 kB / 0.7662 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4888, allocations: 0 / 0.7662 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.4892, allocations: 211.3 kB / 0.7664 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.4892, allocations: 92.92 kB / 0.7665 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.4893, allocations: 11.95 kB / 0.7665 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4896, allocations: 31.97 kB / 0.7665 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4898, allocations: 27.95 kB / 0.7666 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.4898, allocations: 7.984 kB / 0.7666 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001812/0.49, allocations: 143.6 kB / 0.7667 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.49, allocations: 0 / 0.7667 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003645/0.4904, allocations: 35.91 kB / 0.7667 GB, free: 10.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000706/0.4911, allocations: 0.763 MB / 0.7675 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.4914, allocations: 91.92 kB / 0.7676 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4914, allocations: 0 / 0.7676 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4916, allocations: 44.12 kB / 0.7676 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4919, allocations: 29.95 kB / 0.7676 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.4928, allocations: 260.3 kB / 0.7679 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4932, allocations: 0.74 MB / 0.7686 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000141/0.4934, allocations: 21.12 kB / 0.7686 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.4935, allocations: 67.41 kB / 0.7687 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.4936, allocations: 0 / 0.7687 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.5183, allocations: 3.721 MB / 0.7723 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.5187, allocations: 201.9 kB / 0.7725 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.076, allocations: 8 kB / 0.7725 GB, free: 4.234 MB / 0.6511 GB