Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001082/0.001082, allocations: 194 kB / 382.3 MB, free: 14.82 MB / 314.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.38/1.38, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0007872/0.0007872, allocations: 94.2 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 12 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.663, allocations: 119.2 MB / 1.022 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0447/0.7078, allocations: 60.92 MB / 1.082 GB, free: 13.24 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.7218, allocations: 16.57 MB / 1.098 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.7237, allocations: 48.41 kB / 1.098 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.7253, allocations: 0.5502 MB / 1.099 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.7305, allocations: 1.791 MB / 1.1 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.7339, allocations: 1.096 MB / 1.101 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004166/0.7381, allocations: 3.889 MB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.7393, allocations: 0.9149 MB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.7414, allocations: 1.149 MB / 1.107 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.7427, allocations: 0.8573 MB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.7429, allocations: 43.84 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.7455, allocations: 1.29 MB / 1.109 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.7457, allocations: 212.2 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/0.7464, allocations: 0.6346 MB / 1.11 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.749, allocations: 2.211 MB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.749, allocations: 0 / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7491, allocations: 0 / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.7491, allocations: 0 / 1.112 GB, free: 8.453 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.002716/0.7518, allocations: 1.502 MB / 1.114 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7519, allocations: 6.688 kB / 1.114 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.7541, allocations: 0.5208 MB / 1.114 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.7562, allocations: 1.138 MB / 1.115 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.7566, allocations: 131 kB / 1.116 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7567, allocations: 83.81 kB / 1.116 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.7588, allocations: 1.027 MB / 1.117 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7588, allocations: 3.938 kB / 1.117 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.7589, allocations: 33.66 kB / 1.117 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.7589, allocations: 18.75 kB / 1.117 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.7615, allocations: 1.007 MB / 1.118 GB, free: 5.758 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.006407/0.7679, allocations: 4.717 MB / 1.122 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/0.772, allocations: 1.119 MB / 1.123 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.7733, allocations: 443.9 kB / 1.124 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.7743, allocations: 1.032 MB / 1.125 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7744, allocations: 36.88 kB / 1.125 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 5.15e-06/0.7744, allocations: 1 kB / 1.125 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53): time 0.01001/0.7844, allocations: 2.494 MB / 1.127 GB, free: 60 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.7845, allocations: 60.61 kB / 1.127 GB, free: 16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.786, allocations: 0.9282 MB / 1.128 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7861, allocations: 41.7 kB / 1.128 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.7866, allocations: 0.5083 MB / 1.129 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.7867, allocations: 179.5 kB / 1.129 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.7868, allocations: 10.94 kB / 1.129 GB, free: 15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7869, allocations: 328.5 kB / 1.129 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.788, allocations: 382.8 kB / 1.13 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.7892, allocations: 0.5383 MB / 1.13 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.7912, allocations: 0.8266 MB / 1.131 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7912, allocations: 0 / 1.131 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003035/0.7943, allocations: 1.133 MB / 1.132 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.7944, allocations: 160.2 kB / 1.132 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7944, allocations: 2.656 kB / 1.132 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.7957, allocations: 337.5 kB / 1.133 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.7964, allocations: 144 kB / 1.133 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.7979, allocations: 0.9407 MB / 1.134 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.7992, allocations: 179.9 kB / 1.134 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.7993, allocations: 26.42 kB / 1.134 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7993, allocations: 5 kB / 1.134 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002609/0.802, allocations: 1.003 MB / 1.135 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.802, allocations: 6.156 kB / 1.135 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.8031, allocations: 328.8 kB / 1.135 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.8037, allocations: 146 kB / 1.135 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.8052, allocations: 0.9285 MB / 1.136 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.8064, allocations: 165.3 kB / 1.136 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.8065, allocations: 33.34 kB / 1.136 GB, free: 11.42 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006643/0.8071, allocations: 354.1 kB / 1.137 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.8073, allocations: 110.1 kB / 1.137 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.8118, allocations: 1.44 MB / 1.138 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.8118, allocations: 6.812 kB / 1.138 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8119, allocations: 0 / 1.138 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.8119, allocations: 3.375 kB / 1.138 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.8176, allocations: 2.532 MB / 1.141 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.8176, allocations: 1.094 kB / 1.141 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.8182, allocations: 122.5 kB / 1.141 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.8192, allocations: 317.6 kB / 1.141 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.8193, allocations: 22.89 kB / 1.141 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.8208, allocations: 0.9664 MB / 1.142 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8208, allocations: 9.312 kB / 1.142 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/0.825, allocations: 1.446 MB / 1.143 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.8255, allocations: 298.3 kB / 1.144 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.8256, allocations: 16.53 kB / 1.144 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.8266, allocations: 116.4 kB / 1.144 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.8267, allocations: 40.14 kB / 1.144 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.8267, allocations: 30.44 kB / 1.144 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009174/0.8277, allocations: 0.652 MB / 1.145 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8277, allocations: 0 / 1.145 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001716/0.8294, allocations: 0.5671 MB / 1.145 GB, free: 7.52 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007551/0.8302, allocations: 400.6 kB / 1.145 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003714/0.8339, allocations: 1.394 MB / 1.147 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8339, allocations: 0 / 1.147 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.8351, allocations: 493.1 kB / 1.147 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.8378, allocations: 0.506 MB / 1.148 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.8418, allocations: 2.37 MB / 1.15 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.8426, allocations: 1.069 MB / 1.151 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001129/0.8437, allocations: 241.5 kB / 1.151 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.8439, allocations: 85.52 kB / 1.151 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.8439, allocations: 0 / 1.151 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of Templates: time 0.04247/0.8864, allocations: 23.84 MB / 1.175 GB, free: 3.18 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)