Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008736/0.0008737, allocations: 178.8 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.276/1.276, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0007455/0.0007456, allocations: 93.27 kB / 294.4 MB, free: 9.465 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.344/0.344, allocations: 48.79 MB / 394.3 MB, free: 33.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 16 kB / 468.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2469, allocations: 63.08 MB / 0.5187 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01371/0.2606, allocations: 18.36 MB / 0.5367 GB, free: 23.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.2615, allocations: 1.215 MB / 0.5378 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.2616, allocations: 6.562 kB / 0.5378 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.2619, allocations: 97.41 kB / 0.5379 GB, free: 22.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.2623, allocations: 196.5 kB / 0.5381 GB, free: 22.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003786/0.2661, allocations: 1.612 MB / 0.5397 GB, free: 21.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.2667, allocations: 0.8652 MB / 0.5405 GB, free: 21.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2669, allocations: 80.97 kB / 0.5406 GB, free: 21.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.2674, allocations: 401.2 kB / 0.541 GB, free: 20.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.2678, allocations: 306.5 kB / 0.5413 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.2678, allocations: 14.59 kB / 0.5413 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.2731, allocations: 3.408 MB / 0.5446 GB, free: 20.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.2734, allocations: 198.4 kB / 0.5448 GB, free: 20.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.2737, allocations: 319.2 kB / 0.5451 GB, free: 19.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.2769, allocations: 2.382 MB / 0.5475 GB, free: 19.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.277, allocations: 1.219 kB / 0.5475 GB, free: 19.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.277, allocations: 3.938 kB / 0.5475 GB, free: 19.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.277, allocations: 3.938 kB / 0.5475 GB, free: 19.24 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002851/0.2798, allocations: 1.121 MB / 0.5486 GB, free: 18.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2799, allocations: 13.55 kB / 0.5486 GB, free: 18.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.2802, allocations: 95.66 kB / 0.5487 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.2809, allocations: 0.5121 MB / 0.5492 GB, free: 18.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2809, allocations: 37.19 kB / 0.5492 GB, free: 18.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.281, allocations: 44.62 kB / 0.5492 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.2823, allocations: 0.8126 MB / 0.55 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2823, allocations: 1.375 kB / 0.55 GB, free: 17.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.071e-05/0.2824, allocations: 21.27 kB / 0.5501 GB, free: 17.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/0.2825, allocations: 42.97 kB / 0.5501 GB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2837, allocations: 0.6067 MB / 0.5507 GB, free: 17.57 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.002597/0.2863, allocations: 4.307 MB / 0.5549 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2874, allocations: 0.5313 MB / 0.5554 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.2876, allocations: 194 kB / 0.5556 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02817/0.3158, allocations: 15.42 MB / 0.5707 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3159, allocations: 38.56 kB / 0.5707 GB, free: 14.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.3159, allocations: 0 / 0.5707 GB, free: 14.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001856/0.3178, allocations: 0.7419 MB / 0.5714 GB, free: 13.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3178, allocations: 59.41 kB / 0.5715 GB, free: 13.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.3183, allocations: 469.8 kB / 0.5719 GB, free: 13.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3184, allocations: 33.64 kB / 0.572 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3186, allocations: 276.2 kB / 0.5722 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.3187, allocations: 134 kB / 0.5723 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.3187, allocations: 7.984 kB / 0.5724 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3188, allocations: 362.7 kB / 0.5727 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3191, allocations: 132.3 kB / 0.5728 GB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3193, allocations: 197.4 kB / 0.573 GB, free: 12.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/0.3198, allocations: 371.8 kB / 0.5734 GB, free: 11.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3198, allocations: 0 / 0.5734 GB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005999/0.3204, allocations: 445.8 kB / 0.5738 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3204, allocations: 4.219 kB / 0.5738 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3205, allocations: 8 kB / 0.5738 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3205, allocations: 4 kB / 0.5738 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.3208, allocations: 75.83 kB / 0.5739 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3208, allocations: 4 kB / 0.5739 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.3211, allocations: 55.58 kB / 0.5739 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3212, allocations: 12 kB / 0.574 GB, free: 11.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.000295/0.3215, allocations: 265.5 kB / 0.5742 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3215, allocations: 51.38 kB / 0.5743 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.3233, allocations: 1.77 MB / 0.576 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-05/0.3233, allocations: 31.89 kB / 0.576 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3233, allocations: 0 / 0.576 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3233, allocations: 0 / 0.576 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3244, allocations: 1.001 MB / 0.577 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3244, allocations: 3.938 kB / 0.577 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3247, allocations: 51.97 kB / 0.577 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3247, allocations: 3.938 kB / 0.577 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3247, allocations: 15.98 kB / 0.5771 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3247, allocations: 0 / 0.5771 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3247, allocations: 3.938 kB / 0.5771 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009888/0.3257, allocations: 0.9753 MB / 0.578 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.3259, allocations: 171.7 kB / 0.5782 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.3259, allocations: 4 kB / 0.5782 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.3262, allocations: 31.89 kB / 0.5782 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3262, allocations: 23.97 kB / 0.5782 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3262, allocations: 12 kB / 0.5783 GB, free: 6.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.3266, allocations: 331.1 kB / 0.5786 GB, free: 6.258 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 4 kB / 0.5786 GB, free: 6.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0018/0.3284, allocations: 0.5307 MB / 0.5791 GB, free: 5.723 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.00175/0.3302, allocations: 0.5143 MB / 0.5796 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006891/0.3309, allocations: 0.5412 MB / 0.5801 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3309, allocations: 448 / 0.5801 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.3314, allocations: 469 kB / 0.5806 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.3327, allocations: 279.7 kB / 0.5808 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.335, allocations: 2.086 MB / 0.5829 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.3356, allocations: 1.057 MB / 0.5839 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000532/0.3361, allocations: 272 kB / 0.5842 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.3362, allocations: 39.44 kB / 0.5842 GB, free: 428 kB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3362, allocations: 0 / 0.5842 GB, free: 428 kB / 394.7 MB Notification: Performance of Templates: time 0.02885/0.3651, allocations: 20.43 MB / 0.6042 GB, free: 12.04 MB / 426.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)