Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.753/1.753, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.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.00134/0.00134, allocations: 174.3 kB / 375.4 MB, free: 5.125 MB / 298.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 1.375/1.375, allocations: 225.7 MB / 0.6538 GB, free: 13.64 MB / 490.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.0008483/0.0008485, allocations: 96.16 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003869, allocations: 12 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.6663, allocations: 118.1 MB / 1.011 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04542/0.7118, allocations: 56.53 MB / 1.066 GB, free: 25.53 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.7261, allocations: 11.15 MB / 1.077 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.7285, allocations: 48.41 kB / 1.077 GB, free: 17.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.7302, allocations: 466.2 kB / 1.077 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.735, allocations: 1.52 MB / 1.079 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.7379, allocations: 0.8705 MB / 1.08 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004425/0.7424, allocations: 3.424 MB / 1.083 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.744, allocations: 0.9003 MB / 1.084 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.7466, allocations: 1.045 MB / 1.085 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.7481, allocations: 0.8083 MB / 1.086 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.7483, allocations: 49.41 kB / 1.086 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.7507, allocations: 1.094 MB / 1.087 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.7509, allocations: 208.9 kB / 1.087 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.7514, allocations: 282.4 kB / 1.087 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.7533, allocations: 1.649 MB / 1.089 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7533, allocations: 0 / 1.089 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7533, allocations: 0 / 1.089 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.7533, allocations: 0 / 1.089 GB, free: 12.33 MB / 0.7136 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.002482/0.7558, allocations: 1.493 MB / 1.091 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7559, allocations: 9.375 kB / 1.091 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.7582, allocations: 0.5141 MB / 1.091 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.7602, allocations: 1.149 MB / 1.092 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.7605, allocations: 133 kB / 1.092 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.7606, allocations: 79.62 kB / 1.092 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.7626, allocations: 1.031 MB / 1.093 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.7626, allocations: 7.281 kB / 1.093 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.7627, allocations: 30.22 kB / 1.093 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.7627, allocations: 22.84 kB / 1.093 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.7651, allocations: 1.011 MB / 1.094 GB, free: 9.633 MB / 0.7136 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.005107/0.7702, allocations: 4.713 MB / 1.099 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.774, allocations: 1.129 MB / 1.1 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/0.775, allocations: 443 kB / 1.101 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/0.7757, allocations: 1.031 MB / 1.102 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.7758, allocations: 37.91 kB / 1.102 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 3.226e-06/0.7758, allocations: 0 / 1.102 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53): time 0.008844/0.7846, allocations: 2.498 MB / 1.104 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.7847, allocations: 58.02 kB / 1.104 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.7858, allocations: 0.9254 MB / 1.105 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.7859, allocations: 43.98 kB / 1.105 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.7862, allocations: 0.5093 MB / 1.106 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.7864, allocations: 187.2 kB / 1.106 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.7864, allocations: 10.94 kB / 1.106 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.7865, allocations: 323.8 kB / 1.106 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009353/0.7874, allocations: 380.3 kB / 1.106 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.7884, allocations: 0.5433 MB / 1.107 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.7902, allocations: 0.8134 MB / 1.108 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.7903, allocations: 3.281 kB / 1.108 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002663/0.7929, allocations: 1.124 MB / 1.109 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.793, allocations: 159 kB / 1.109 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.793, allocations: 7.188 kB / 1.109 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.7942, allocations: 328.7 kB / 1.109 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.7948, allocations: 143.4 kB / 1.109 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.7961, allocations: 0.9405 MB / 1.11 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7973, allocations: 173.3 kB / 1.11 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.7974, allocations: 26.34 kB / 1.111 GB, free: 452 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.7974, allocations: 3.906 kB / 1.111 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002392/0.7998, allocations: 0.9996 MB / 1.111 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7998, allocations: 3.344 kB / 1.111 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.8008, allocations: 338.8 kB / 1.112 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.8014, allocations: 141.2 kB / 1.112 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.8028, allocations: 0.9343 MB / 1.113 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.804, allocations: 170.3 kB / 1.113 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.8041, allocations: 30.09 kB / 1.113 GB, free: 15.32 MB / 0.7292 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 (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.000595/0.8047, allocations: 354.1 kB / 1.113 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.8049, allocations: 107.8 kB / 1.113 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.8091, allocations: 1.44 MB / 1.115 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8092, allocations: 5.75 kB / 1.115 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.8092, allocations: 0 / 1.115 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.8092, allocations: 11.34 kB / 1.115 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/0.8148, allocations: 2.524 MB / 1.117 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.8149, allocations: 3.219 kB / 1.117 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.8154, allocations: 115.2 kB / 1.117 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009757/0.8164, allocations: 329 kB / 1.118 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.8164, allocations: 13.78 kB / 1.118 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.8178, allocations: 0.9759 MB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8179, allocations: 3.938 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/0.8221, allocations: 1.454 MB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.8228, allocations: 286 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.8229, allocations: 21.95 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.8238, allocations: 119 kB / 1.121 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.8239, allocations: 41.06 kB / 1.121 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-05/0.824, allocations: 23.09 kB / 1.121 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008825/0.8249, allocations: 0.6491 MB / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8249, allocations: 0 / 1.121 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001358/0.8263, allocations: 0.5684 MB / 1.122 GB, free: 11.44 MB / 0.7292 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.0007151/0.827, allocations: 381.3 kB / 1.122 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003488/0.8305, allocations: 1.393 MB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8305, allocations: 1.125 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8317, allocations: 486.7 kB / 1.124 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.8342, allocations: 0.5018 MB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.8389, allocations: 2.324 MB / 1.127 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.8397, allocations: 1.068 MB / 1.128 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001314/0.841, allocations: 234.7 kB / 1.128 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.8413, allocations: 89.2 kB / 1.128 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/0.8413, allocations: 3.938 kB / 1.128 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of Templates: time 0.04452/0.8858, allocations: 23.27 MB / 1.151 GB, free: 6.008 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)