Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 177.3 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.27/1.27, allocations: 225.7 MB / 243.2 MB, free: 10.18 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.0007567/0.0007568, allocations: 98.27 kB / 294.4 MB, free: 9.711 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.3483/0.3483, allocations: 48.79 MB / 394.3 MB, free: 34.8 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 468.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2487, allocations: 63.08 MB / 0.5187 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01306/0.2618, allocations: 18.9 MB / 0.5372 GB, free: 22.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.2746, allocations: 19.69 MB / 0.5564 GB, free: 5.848 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.2748, allocations: 1.656 kB / 0.5564 GB, free: 5.848 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.2752, allocations: 127.7 kB / 0.5565 GB, free: 5.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.2756, allocations: 199 kB / 0.5567 GB, free: 5.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.2864, allocations: 4.212 MB / 0.5608 GB, free: 3.781 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.2886, allocations: 2.177 MB / 0.563 GB, free: 3.055 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2888, allocations: 99.47 kB / 0.5631 GB, free: 3.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.2894, allocations: 0.5495 MB / 0.5636 GB, free: 2.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.2905, allocations: 0.7874 MB / 0.5644 GB, free: 2.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.2907, allocations: 75.22 kB / 0.5644 GB, free: 2.645 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.3026, allocations: 6.441 MB / 0.5707 GB, free: 15.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.3031, allocations: 410.9 kB / 0.5711 GB, free: 15.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.3039, allocations: 0.5466 MB / 0.5716 GB, free: 14.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008975/0.3129, allocations: 4.95 MB / 0.5765 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3129, allocations: 0 / 0.5765 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.313, allocations: 0 / 0.5765 GB, free: 9.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.313, allocations: 0 / 0.5765 GB, free: 9.906 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.008273/0.3213, allocations: 2.587 MB / 0.579 GB, free: 7.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3213, allocations: 19.98 kB / 0.579 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.3229, allocations: 295.8 kB / 0.5793 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009012/0.3238, allocations: 0.5786 MB / 0.5799 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009405/0.3248, allocations: 0.5177 MB / 0.5804 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.325, allocations: 72 kB / 0.5804 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008935/0.334, allocations: 3.87 MB / 0.5842 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.334, allocations: 0 / 0.5842 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.3342, allocations: 28 kB / 0.5843 GB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.3343, allocations: 49.98 kB / 0.5843 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.3496, allocations: 6.393 MB / 0.5905 GB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.3646, allocations: 10.58 MB / 0.6009 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/0.3722, allocations: 3.222 MB / 0.604 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00643/0.3787, allocations: 2.775 MB / 0.6067 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09754/0.4763, allocations: 53.99 MB / 0.6595 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.4763, allocations: 43.56 kB / 0.6595 GB, free: 13.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 2.455e-06/0.4763, allocations: 0 / 0.6595 GB, free: 13.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.02085/0.4972, allocations: 8.122 MB / 0.6674 GB, free: 5.699 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4973, allocations: 60.41 kB / 0.6675 GB, free: 5.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4976, allocations: 248.9 kB / 0.6677 GB, free: 5.379 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.4977, allocations: 37.7 kB / 0.6678 GB, free: 5.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4979, allocations: 252.5 kB / 0.668 GB, free: 5.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.4982, allocations: 311.5 kB / 0.6683 GB, free: 4.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4984, allocations: 12 kB / 0.6683 GB, free: 4.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4985, allocations: 358.8 kB / 0.6687 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006238/0.5048, allocations: 2.636 MB / 0.6712 GB, free: 1.762 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/0.5111, allocations: 2.747 MB / 0.6739 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.5222, allocations: 4.39 MB / 0.6782 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5222, allocations: 7.938 kB / 0.6782 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01284/0.5351, allocations: 5.13 MB / 0.6832 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5351, allocations: 4 kB / 0.6832 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5351, allocations: 4 kB / 0.6832 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5352, allocations: 7.938 kB / 0.6832 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.539, allocations: 1.065 MB / 0.6843 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.5391, allocations: 11.98 kB / 0.6843 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.5422, allocations: 0.8773 MB / 0.6851 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.5424, allocations: 95.75 kB / 0.6852 GB, free: 3.348 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.000572/0.543, allocations: 261.6 kB / 0.6855 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.5432, allocations: 51.44 kB / 0.6855 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1986/0.7418, allocations: 7.511 MB / 0.6929 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01216/0.754, allocations: 6.918 MB / 0.6996 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.754, allocations: 0 / 0.6996 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.754, allocations: 7.25 kB / 0.6996 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/0.7723, allocations: 10.21 MB / 0.7096 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.7723, allocations: 1.125 kB / 0.7096 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003543/0.7759, allocations: 1.055 MB / 0.7106 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.7759, allocations: 4.766 kB / 0.7106 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.7761, allocations: 79.67 kB / 0.7107 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.7761, allocations: 6.781 kB / 0.7107 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7761, allocations: 1.062 kB / 0.7107 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.789, allocations: 5.829 MB / 0.7164 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.7892, allocations: 190.2 kB / 0.7166 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.7895, allocations: 24.7 kB / 0.7166 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/0.7922, allocations: 0.8368 MB / 0.7174 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003728/0.7926, allocations: 140.5 kB / 0.7176 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/0.7928, allocations: 92.03 kB / 0.7177 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001621/0.793, allocations: 191.8 kB / 0.7178 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.793, allocations: 0 / 0.7178 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002794/0.7958, allocations: 1.28 MB / 0.7191 GB, free: 147.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003501/0.7993, allocations: 1.165 MB / 0.7202 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01227/0.8116, allocations: 5.874 MB / 0.726 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8116, allocations: 0 / 0.726 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00623/0.8179, allocations: 3.215 MB / 0.7291 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.8196, allocations: 335 kB / 0.7294 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.8293, allocations: 5.867 MB / 0.7352 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.8297, allocations: 1.117 MB / 0.7362 GB, free: 131 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001956/0.8317, allocations: 0.721 MB / 0.7369 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.8328, allocations: 219 kB / 0.7372 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of SimCode: time 5.52e-07/0.8328, allocations: 0 / 0.7372 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.05409/0.8869, allocations: 56.31 MB / 0.7921 GB, free: 73.84 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)