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_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.469/2.469, allocations: 255 MB / 269.9 MB, free: 9.641 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.001366/0.001366, allocations: 181.1 kB / 329.5 MB, free: 1.188 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.559/2.559, allocations: 225.6 MB / 0.6001 GB, free: 2.188 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.001021/0.00102, allocations: 101.8 kB / 0.7074 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 11.84 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08781/0.289, allocations: 56.52 MB / 0.9859 GB, free: 492 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.3123, allocations: 11.11 MB / 0.9968 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.3145, allocations: 47.69 kB / 0.9968 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.3171, allocations: 464.8 kB / 0.9973 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006765/0.3239, allocations: 1.519 MB / 0.9988 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004756/0.3287, allocations: 0.8808 MB / 0.9996 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006696/0.3354, allocations: 3.418 MB / 1.003 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.3377, allocations: 0.8614 MB / 1.004 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.3413, allocations: 1.038 MB / 1.005 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.3438, allocations: 0.8204 MB / 1.006 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.3442, allocations: 44 kB / 1.006 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.3483, allocations: 1.08 MB / 1.007 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.3489, allocations: 207 kB / 1.007 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.3497, allocations: 281.1 kB / 1.007 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.3536, allocations: 1.641 MB / 1.009 GB, free: 9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3536, allocations: 0 / 1.009 GB, free: 9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.726e-06/0.3537, allocations: 3.938 kB / 1.009 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.472e-05/0.3537, allocations: 0 / 1.009 GB, free: 8.996 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004623/0.3583, allocations: 1.505 MB / 1.01 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3584, allocations: 8.031 kB / 1.01 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/0.3631, allocations: 0.5144 MB / 1.011 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.367, allocations: 1.114 MB / 1.012 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006849/0.3677, allocations: 125.9 kB / 1.012 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.368, allocations: 80 kB / 1.012 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/0.3719, allocations: 1.033 MB / 1.013 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.372, allocations: 0 / 1.013 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.3721, allocations: 32 kB / 1.013 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3722, allocations: 20 kB / 1.013 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005222/0.3774, allocations: 1.003 MB / 1.014 GB, free: 3.418 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.6159/0.9933, allocations: 4.711 MB / 1.019 GB, free: 86.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/1.001, allocations: 1.125 MB / 1.02 GB, free: 86.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/1.004, allocations: 444.6 kB / 1.02 GB, free: 86.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.005, allocations: 1.029 MB / 1.021 GB, free: 85.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.005, allocations: 38.64 kB / 1.021 GB, free: 85.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/1.005, allocations: 0 / 1.021 GB, free: 85.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.01926/1.024, allocations: 2.492 MB / 1.024 GB, free: 84.92 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/1.024, allocations: 61.91 kB / 1.024 GB, free: 84.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.026, allocations: 0.924 MB / 1.025 GB, free: 84.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/1.027, allocations: 37.83 kB / 1.025 GB, free: 84.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/1.027, allocations: 0.5073 MB / 1.025 GB, free: 84.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.027, allocations: 185.6 kB / 1.025 GB, free: 83.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/1.028, allocations: 14.09 kB / 1.025 GB, free: 83.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.826e-05/1.028, allocations: 328.6 kB / 1.026 GB, free: 83.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.03, allocations: 372.3 kB / 1.026 GB, free: 83.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/1.032, allocations: 0.5392 MB / 1.027 GB, free: 83.26 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/1.034, allocations: 395.5 kB / 1.027 GB, free: 83.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.034, allocations: 1.188 kB / 1.027 GB, free: 83.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.007419/1.041, allocations: 1.291 MB / 1.028 GB, free: 82.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.041, allocations: 172.8 kB / 1.028 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.042, allocations: 6.531 kB / 1.028 GB, free: 82.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.044, allocations: 325.6 kB / 1.029 GB, free: 82.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.045, allocations: 142.9 kB / 1.029 GB, free: 82.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/1.048, allocations: 0.9328 MB / 1.03 GB, free: 81.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.05, allocations: 182.1 kB / 1.03 GB, free: 81.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/1.05, allocations: 31.5 kB / 1.03 GB, free: 81.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.05, allocations: 1.062 kB / 1.03 GB, free: 81.72 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006696/1.057, allocations: 1.157 MB / 1.031 GB, free: 81.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.057, allocations: 2.719 kB / 1.031 GB, free: 81.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/1.059, allocations: 322.4 kB / 1.031 GB, free: 81.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.06, allocations: 139.8 kB / 1.032 GB, free: 81.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/1.063, allocations: 0.9309 MB / 1.032 GB, free: 80.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.065, allocations: 178.7 kB / 1.033 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.065, allocations: 29.78 kB / 1.033 GB, free: 80.58 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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.0007932/1.066, allocations: 346.6 kB / 1.033 GB, free: 80.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.066, allocations: 107.2 kB / 1.033 GB, free: 80.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008467/1.075, allocations: 1.443 MB / 1.034 GB, free: 79.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.075, allocations: 7.078 kB / 1.034 GB, free: 79.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.075, allocations: 4.953 kB / 1.034 GB, free: 79.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.075, allocations: 2.531 kB / 1.034 GB, free: 79.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.086, allocations: 2.525 MB / 1.037 GB, free: 78.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.086, allocations: 1.781 kB / 1.037 GB, free: 78.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.087, allocations: 112.3 kB / 1.037 GB, free: 78.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/1.089, allocations: 323 kB / 1.037 GB, free: 78.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.089, allocations: 18.42 kB / 1.037 GB, free: 78.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/1.092, allocations: 0.9779 MB / 1.038 GB, free: 77.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.092, allocations: 2.312 kB / 1.038 GB, free: 77.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008245/1.1, allocations: 1.449 MB / 1.04 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/1.101, allocations: 296.3 kB / 1.04 GB, free: 77.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/1.102, allocations: 13.47 kB / 1.04 GB, free: 77.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.104, allocations: 127.7 kB / 1.04 GB, free: 77.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.104, allocations: 44.05 kB / 1.04 GB, free: 77.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.104, allocations: 24.69 kB / 1.04 GB, free: 77.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001622/1.106, allocations: 0.6513 MB / 1.041 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.61e-07/1.106, allocations: 0 / 1.041 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002546/1.108, allocations: 0.5565 MB / 1.041 GB, free: 76.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/1.109, allocations: 376.3 kB / 1.042 GB, free: 76.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007466/1.117, allocations: 1.375 MB / 1.043 GB, free: 76.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.117, allocations: 0 / 1.043 GB, free: 76.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.119, allocations: 490.4 kB / 1.044 GB, free: 76.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006415/1.126, allocations: 0.5074 MB / 1.044 GB, free: 75.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.137, allocations: 2.327 MB / 1.046 GB, free: 74.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.138, allocations: 1.07 MB / 1.047 GB, free: 73.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002914/1.141, allocations: 237.8 kB / 1.048 GB, free: 73.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/1.142, allocations: 81.19 kB / 1.048 GB, free: 73.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.644e-06/1.142, allocations: 0 / 1.048 GB, free: 73.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.06413/1.206, allocations: 23.09 MB / 1.07 GB, free: 59.37 MB / 0.6511 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)