Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.329/2.329, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 184.1 kB / 329.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 225.6 MB / 0.6001 GB, free: 3.652 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.000958, allocations: 102.1 kB / 0.7074 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006611/0.0006616, allocations: 8.625 kB / 0.8242 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 109.1 MB / 0.9308 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.08005/0.295, allocations: 56.52 MB / 0.986 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.3185, allocations: 11.1 MB / 0.9968 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3207, allocations: 51.62 kB / 0.9968 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.3231, allocations: 468.9 kB / 0.9973 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.3298, allocations: 1.512 MB / 0.9988 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.3341, allocations: 0.8731 MB / 0.9996 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006467/0.3406, allocations: 3.414 MB / 1.003 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.3428, allocations: 0.8484 MB / 1.004 GB, free: 464 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.3464, allocations: 1.034 MB / 1.005 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.3487, allocations: 0.8205 MB / 1.006 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.3492, allocations: 40 kB / 1.006 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.3532, allocations: 1.107 MB / 1.007 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005452/0.3538, allocations: 203 kB / 1.007 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/0.3545, allocations: 285 kB / 1.007 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.3583, allocations: 1.645 MB / 1.009 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3583, allocations: 0 / 1.009 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.638e-06/0.3583, allocations: 0 / 1.009 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.3584, allocations: 7.938 kB / 1.009 GB, free: 11.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004642/0.363, allocations: 1.501 MB / 1.01 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3631, allocations: 12.03 kB / 1.01 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.3663, allocations: 391 kB / 1.011 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.37, allocations: 1.079 MB / 1.012 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006791/0.3707, allocations: 133.9 kB / 1.012 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.371, allocations: 80 kB / 1.012 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/0.3744, allocations: 0.9683 MB / 1.013 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.3745, allocations: 3.938 kB / 1.013 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.3747, allocations: 32 kB / 1.013 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.3747, allocations: 20 kB / 1.013 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.3789, allocations: 0.8548 MB / 1.014 GB, free: 6.086 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.01076/0.3897, allocations: 4.549 MB / 1.018 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.3927, allocations: 0.6458 MB / 1.019 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.394, allocations: 305.9 kB / 1.019 GB, free: 260 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/0.3962, allocations: 1.389 MB / 1.02 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.3963, allocations: 39 kB / 1.02 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 6.572e-06/0.3964, allocations: 4 kB / 1.02 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.01463/0.411, allocations: 1.901 MB / 1.022 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4111, allocations: 55.84 kB / 1.022 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003091/0.4142, allocations: 1.055 MB / 1.023 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.4145, allocations: 37.7 kB / 1.023 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/0.4152, allocations: 0.5235 MB / 1.024 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.4155, allocations: 157.7 kB / 1.024 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.4156, allocations: 12 kB / 1.024 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4157, allocations: 330 kB / 1.024 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4173, allocations: 292.9 kB / 1.025 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.4192, allocations: 0.4929 MB / 1.025 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.4208, allocations: 336.5 kB / 1.026 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.4208, allocations: 0 / 1.026 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.006563/0.4274, allocations: 1.171 MB / 1.027 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.4276, allocations: 204.3 kB / 1.027 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.4277, allocations: 7.984 kB / 1.027 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.4299, allocations: 320.6 kB / 1.027 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.431, allocations: 131.7 kB / 1.027 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.4336, allocations: 0.9347 MB / 1.028 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.4359, allocations: 179.2 kB / 1.028 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.4361, allocations: 35.92 kB / 1.028 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4361, allocations: 4 kB / 1.028 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005952/0.4421, allocations: 1.033 MB / 1.029 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4422, allocations: 0 / 1.029 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.4442, allocations: 324.9 kB / 1.03 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4453, allocations: 123.8 kB / 1.03 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.4478, allocations: 0.9275 MB / 1.031 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.45, allocations: 163.3 kB / 1.031 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.4501, allocations: 31.92 kB / 1.031 GB, free: 3.512 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008165/0.451, allocations: 354.9 kB / 1.031 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.4512, allocations: 110.6 kB / 1.031 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006694/0.4579, allocations: 1.194 MB / 1.033 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.458, allocations: 15.88 kB / 1.033 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.458, allocations: 0 / 1.033 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.458, allocations: 3.984 kB / 1.033 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008747/0.4668, allocations: 2.212 MB / 1.035 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.4669, allocations: 0 / 1.035 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.4674, allocations: 68.17 kB / 1.035 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.4693, allocations: 332.6 kB / 1.035 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.4694, allocations: 16 kB / 1.035 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.472, allocations: 0.9757 MB / 1.036 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.472, allocations: 7.969 kB / 1.036 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/0.4786, allocations: 1.231 MB / 1.037 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008388/0.4794, allocations: 283.4 kB / 1.038 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002348/0.4797, allocations: 15.94 kB / 1.038 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.4813, allocations: 103.8 kB / 1.038 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4814, allocations: 35.95 kB / 1.038 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.4815, allocations: 23.98 kB / 1.038 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001891/0.4834, allocations: 0.7391 MB / 1.038 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4835, allocations: 0 / 1.038 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002337/0.4858, allocations: 0.5614 MB / 1.039 GB, free: 11.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.487, allocations: 399.5 kB / 1.039 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005198/0.4922, allocations: 1.104 MB / 1.04 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.4923, allocations: 0 / 1.04 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.4938, allocations: 353.7 kB / 1.041 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004772/0.4986, allocations: 0.5336 MB / 1.041 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.5047, allocations: 2.213 MB / 1.044 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008541/0.5056, allocations: 1.07 MB / 1.045 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00167/0.5073, allocations: 228.8 kB / 1.045 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.5077, allocations: 83.41 kB / 1.045 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.5077, allocations: 0 / 1.045 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of Templates: time 0.641/1.149, allocations: 23.73 MB / 1.068 GB, free: 112.1 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)