Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.conf.json 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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 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.273/1.273, allocations: 225.7 MB / 243.2 MB, free: 8.496 MB / 202.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.0007852/0.0007852, allocations: 100.9 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3425/0.3425, allocations: 48.79 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 12 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 63.07 MB / 0.5187 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01261/0.2581, allocations: 18.38 MB / 0.5367 GB, free: 23.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.2589, allocations: 1.228 MB / 0.5379 GB, free: 22.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.259, allocations: 3.938 kB / 0.5379 GB, free: 22.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.2593, allocations: 99.09 kB / 0.538 GB, free: 22.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.2596, allocations: 185.7 kB / 0.5381 GB, free: 22.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.2628, allocations: 1.608 MB / 0.5397 GB, free: 21.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.2634, allocations: 0.7299 MB / 0.5404 GB, free: 21.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2636, allocations: 89.48 kB / 0.5405 GB, free: 21.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.264, allocations: 354 kB / 0.5408 GB, free: 21.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.2643, allocations: 260 kB / 0.5411 GB, free: 21.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.2644, allocations: 13 kB / 0.5411 GB, free: 21.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/0.2694, allocations: 3.403 MB / 0.5444 GB, free: 20.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.2695, allocations: 188.6 kB / 0.5446 GB, free: 20.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.2697, allocations: 270.1 kB / 0.5449 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.2724, allocations: 2.308 MB / 0.5471 GB, free: 19.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2725, allocations: 0 / 0.5471 GB, free: 19.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2725, allocations: 3.938 kB / 0.5471 GB, free: 19.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2725, allocations: 0 / 0.5471 GB, free: 19.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002079/0.2746, allocations: 0.9952 MB / 0.5481 GB, free: 19.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2746, allocations: 13.67 kB / 0.5481 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2748, allocations: 71.64 kB / 0.5482 GB, free: 18.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.2754, allocations: 495.4 kB / 0.5487 GB, free: 18.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2754, allocations: 39.55 kB / 0.5487 GB, free: 18.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.2755, allocations: 36 kB / 0.5487 GB, free: 18.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.2765, allocations: 0.592 MB / 0.5493 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2765, allocations: 0 / 0.5493 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2765, allocations: 16.12 kB / 0.5493 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.2766, allocations: 32.02 kB / 0.5493 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.2774, allocations: 458.2 kB / 0.5498 GB, free: 18.2 MB / 378.7 MB 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.001884/0.2793, allocations: 3.155 MB / 0.5529 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.28, allocations: 378 kB / 0.5532 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2803, allocations: 178.1 kB / 0.5534 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/0.3084, allocations: 15.41 MB / 0.5684 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3084, allocations: 46.48 kB / 0.5685 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.3085, allocations: 0 / 0.5685 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001197/0.3097, allocations: 0.5419 MB / 0.569 GB, free: 432 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.3097, allocations: 55.41 kB / 0.5691 GB, free: 364 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.3101, allocations: 413.5 kB / 0.5695 GB, free: 15.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3101, allocations: 29.7 kB / 0.5695 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3103, allocations: 244.2 kB / 0.5697 GB, free: 15.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.3104, allocations: 110.4 kB / 0.5698 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.3104, allocations: 8 kB / 0.5698 GB, free: 15.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3106, allocations: 350.8 kB / 0.5702 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.3107, allocations: 103.9 kB / 0.5703 GB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3109, allocations: 152.1 kB / 0.5704 GB, free: 14.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.3113, allocations: 287 kB / 0.5707 GB, free: 14.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3113, allocations: 0 / 0.5707 GB, free: 14.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004959/0.3118, allocations: 354.6 kB / 0.571 GB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3119, allocations: 8 kB / 0.571 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3119, allocations: 4.125 kB / 0.571 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3119, allocations: 4 kB / 0.5711 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3121, allocations: 47.91 kB / 0.5711 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3121, allocations: 4 kB / 0.5711 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3124, allocations: 31.67 kB / 0.5711 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3124, allocations: 12 kB / 0.5711 GB, free: 14.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.3127, allocations: 237.7 kB / 0.5714 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.3127, allocations: 39.47 kB / 0.5714 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3139, allocations: 1.117 MB / 0.5725 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.314, allocations: 15.98 kB / 0.5725 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.314, allocations: 3.984 kB / 0.5725 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.314, allocations: 0 / 0.5725 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/0.3148, allocations: 0.7182 MB / 0.5732 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3148, allocations: 3.938 kB / 0.5732 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.315, allocations: 43.86 kB / 0.5733 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.315, allocations: 3.984 kB / 0.5733 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.315, allocations: 11.98 kB / 0.5733 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.315, allocations: 0 / 0.5733 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.315, allocations: 0 / 0.5733 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.3158, allocations: 0.7002 MB / 0.574 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3159, allocations: 140.1 kB / 0.5741 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.3159, allocations: 7.984 kB / 0.5741 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3161, allocations: 27.88 kB / 0.5741 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3162, allocations: 15.97 kB / 0.5741 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3162, allocations: 4 kB / 0.5741 GB, free: 11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002888/0.3165, allocations: 299.1 kB / 0.5744 GB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3165, allocations: 0 / 0.5744 GB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001685/0.3182, allocations: 0.4957 MB / 0.5749 GB, free: 10.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.3199, allocations: 0.5106 MB / 0.5754 GB, free: 9.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.3204, allocations: 393.3 kB / 0.5758 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3204, allocations: 0 / 0.5758 GB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3208, allocations: 308.8 kB / 0.5761 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.3218, allocations: 205.3 kB / 0.5763 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3236, allocations: 1.563 MB / 0.5778 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.3241, allocations: 0.954 MB / 0.5787 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.3245, allocations: 183 kB / 0.5789 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.3246, allocations: 39.42 kB / 0.579 GB, free: 6.02 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3246, allocations: 0 / 0.579 GB, free: 6.02 MB / 394.7 MB Notification: Performance of Templates: time 0.0246/0.3492, allocations: 17.86 MB / 0.5964 GB, free: 4.199 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)