Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.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.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008792/0.0008792, allocations: 178.8 kB / 16.71 MB, free: 5.09 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.238/1.238, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0007554/0.0007554, allocations: 88.53 kB / 294.4 MB, free: 9.508 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.3328/0.3328, allocations: 48.78 MB / 394.3 MB, free: 33.6 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 12 kB / 468.1 MB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2582, allocations: 63.07 MB / 0.5187 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01459/0.2729, allocations: 22.02 MB / 0.5402 GB, free: 20.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008855/0.2817, allocations: 13.06 MB / 0.553 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.2819, allocations: 1.375 kB / 0.553 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.2823, allocations: 112.5 kB / 0.5531 GB, free: 9.695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.2826, allocations: 151.7 kB / 0.5532 GB, free: 9.613 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.2898, allocations: 2.859 MB / 0.556 GB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2913, allocations: 1.934 MB / 0.5579 GB, free: 7.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2915, allocations: 87.41 kB / 0.558 GB, free: 7.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.292, allocations: 0.4993 MB / 0.5585 GB, free: 7.582 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009457/0.293, allocations: 0.7108 MB / 0.5592 GB, free: 7.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2932, allocations: 70.53 kB / 0.5593 GB, free: 7.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.3037, allocations: 5.886 MB / 0.565 GB, free: 5.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.3042, allocations: 369.7 kB / 0.5654 GB, free: 5.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.3048, allocations: 496 kB / 0.5658 GB, free: 5.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.3106, allocations: 4.416 MB / 0.5701 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3106, allocations: 0 / 0.5701 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3106, allocations: 4 kB / 0.5701 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3106, allocations: 4 kB / 0.5702 GB, free: 0.5859 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00741/0.318, allocations: 2.388 MB / 0.5725 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3181, allocations: 13.11 kB / 0.5725 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.3187, allocations: 144.1 kB / 0.5726 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.3195, allocations: 0.5064 MB / 0.5731 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009184/0.3204, allocations: 0.5093 MB / 0.5736 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.3207, allocations: 56 kB / 0.5737 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008005/0.3287, allocations: 3.597 MB / 0.5772 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3287, allocations: 3.938 kB / 0.5772 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.3289, allocations: 24 kB / 0.5772 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.3289, allocations: 49.28 kB / 0.5773 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.3429, allocations: 5.812 MB / 0.5829 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.3567, allocations: 10.41 MB / 0.5931 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.3637, allocations: 2.903 MB / 0.5959 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006139/0.3699, allocations: 2.575 MB / 0.5985 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06377/0.4337, allocations: 34.98 MB / 0.6326 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.4338, allocations: 35.12 kB / 0.6327 GB, free: 11.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/0.4338, allocations: 0 / 0.6327 GB, free: 11.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.01938/0.4532, allocations: 7.379 MB / 0.6399 GB, free: 4.387 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.4533, allocations: 59.97 kB / 0.6399 GB, free: 4.316 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4535, allocations: 256.8 kB / 0.6402 GB, free: 4.055 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4537, allocations: 33.7 kB / 0.6402 GB, free: 4.016 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.4538, allocations: 236.6 kB / 0.6404 GB, free: 3.781 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.4541, allocations: 205 kB / 0.6406 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.4542, allocations: 8 kB / 0.6406 GB, free: 3.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4544, allocations: 354.8 kB / 0.641 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/0.4604, allocations: 2.479 MB / 0.6434 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/0.4665, allocations: 2.585 MB / 0.6459 GB, free: 14.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.477, allocations: 4.062 MB / 0.6499 GB, free: 10 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.477, allocations: 3.938 kB / 0.6499 GB, free: 9.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01205/0.4891, allocations: 4.734 MB / 0.6545 GB, free: 5.254 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.4892, allocations: 173.3 kB / 0.6547 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.4892, allocations: 11.88 kB / 0.6547 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4893, allocations: 4 kB / 0.6547 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.4927, allocations: 0.9988 MB / 0.6557 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.872e-05/0.4927, allocations: 15.92 kB / 0.6557 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.4956, allocations: 0.8542 MB / 0.6565 GB, free: 3.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.4958, allocations: 67.84 kB / 0.6566 GB, free: 3.086 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.4958, allocations: 7.938 kB / 0.6566 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/0.5077, allocations: 4.666 MB / 0.6611 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5077, allocations: 4 kB / 0.6611 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5077, allocations: 11.92 kB / 0.6612 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.5111, allocations: 0.999 MB / 0.6621 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.5111, allocations: 7.938 kB / 0.6621 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.514, allocations: 0.8503 MB / 0.663 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.5142, allocations: 71.84 kB / 0.663 GB, free: 12.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005128/0.5147, allocations: 321.4 kB / 0.6633 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.5149, allocations: 39.56 kB / 0.6634 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.528, allocations: 6.315 MB / 0.6695 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1924/0.7204, allocations: 5.906 MB / 0.6753 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7204, allocations: 4.484 kB / 0.6753 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.7205, allocations: 3.234 kB / 0.6753 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.737, allocations: 8.75 MB / 0.6839 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.7371, allocations: 0 / 0.6839 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/0.7401, allocations: 0.9849 MB / 0.6848 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.7401, allocations: 5.25 kB / 0.6848 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.7403, allocations: 63.64 kB / 0.6849 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.7403, allocations: 2.625 kB / 0.6849 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7403, allocations: 2.625 kB / 0.6849 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.7518, allocations: 5.301 MB / 0.6901 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.752, allocations: 175.8 kB / 0.6902 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.7522, allocations: 11.41 kB / 0.6903 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/0.7549, allocations: 0.8275 MB / 0.6911 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.7552, allocations: 113.3 kB / 0.6912 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.7554, allocations: 70.3 kB / 0.6912 GB, free: 137.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.7555, allocations: 184.2 kB / 0.6914 GB, free: 137.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7555, allocations: 3.844 kB / 0.6914 GB, free: 137.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003166/0.7587, allocations: 1.313 MB / 0.6927 GB, free: 137.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003179/0.7619, allocations: 0.991 MB / 0.6937 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01833/0.7802, allocations: 8.102 MB / 0.7016 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.7803, allocations: 4 kB / 0.7016 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006142/0.7864, allocations: 2.918 MB / 0.7044 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.7878, allocations: 227.5 kB / 0.7046 GB, free: 132.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009178/0.797, allocations: 5.235 MB / 0.7098 GB, free: 128.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.7974, allocations: 1.056 MB / 0.7108 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002506/0.7999, allocations: 0.8881 MB / 0.7117 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.8009, allocations: 167.1 kB / 0.7118 GB, free: 126.4 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8009, allocations: 1.859 kB / 0.7118 GB, free: 126.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04817/0.8491, allocations: 50.3 MB / 0.7609 GB, free: 76.09 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)