Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006516/0.006516, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 194.9 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3643/0.3643, allocations: 38 MB / 307.9 MB, free: 10.3 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 71.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3514, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003357/0.3548, allocations: 2.102 MB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3574, allocations: 1.416 MB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.3576, allocations: 1.188 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.358, allocations: 87.66 kB / 493.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3582, allocations: 65.36 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.3589, allocations: 212.7 kB / 493.4 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.3591, allocations: 148.7 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.3592, allocations: 17.25 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3594, allocations: 57.33 kB / 493.6 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3596, allocations: 62.14 kB / 493.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3596, allocations: 7.797 kB / 493.7 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008241/0.3604, allocations: 424.2 kB / 494.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.3605, allocations: 25.95 kB / 494.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.3606, allocations: 72.98 kB / 494.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.3613, allocations: 437.2 kB / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3613, allocations: 0 / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3613, allocations: 0 / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3614, allocations: 1.594 kB / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007133/0.3621, allocations: 0.4921 MB / 495.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3621, allocations: 13.03 kB / 495.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.3622, allocations: 26.95 kB / 495.1 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3624, allocations: 222.2 kB / 495.4 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3625, allocations: 15 kB / 495.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.3625, allocations: 20.41 kB / 495.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.363, allocations: 200.7 kB / 495.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.363, allocations: 0 / 495.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.363, allocations: 5.125 kB / 495.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.363, allocations: 4.844 kB / 495.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.3634, allocations: 154 kB / 495.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.3643, allocations: 0.5763 MB / 496.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3645, allocations: 63.14 kB / 496.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3647, allocations: 29.86 kB / 496.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3647, allocations: 2.141 kB / 496.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3647, allocations: 40.92 kB / 496.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3647, allocations: 0 / 496.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004918/0.3652, allocations: 133.6 kB / 496.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3653, allocations: 55.34 kB / 496.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3656, allocations: 256.2 kB / 496.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3656, allocations: 26.73 kB / 496.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3657, allocations: 164.9 kB / 497.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3657, allocations: 24.41 kB / 497.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.3658, allocations: 44.23 kB / 497.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.3659, allocations: 335.6 kB / 497.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.366, allocations: 33.31 kB / 497.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3662, allocations: 136.1 kB / 497.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3666, allocations: 180.6 kB / 497.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3666, allocations: 3.938 kB / 497.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003937/0.367, allocations: 200.8 kB / 498 MB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.367, allocations: 6.875 kB / 498 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.367, allocations: 12.5 kB / 498 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3671, allocations: 4.75 kB / 498 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3672, allocations: 27.67 kB / 498.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3672, allocations: 13.86 kB / 498.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3674, allocations: 41.72 kB / 498.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3674, allocations: 13.38 kB / 498.1 MB, free: 14.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.881e-05/0.3675, allocations: 136 kB / 498.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3676, allocations: 16.78 kB / 498.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.3679, allocations: 137 kB / 498.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.368, allocations: 1.891 kB / 498.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.368, allocations: 0 / 498.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.368, allocations: 0.7969 kB / 498.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3682, allocations: 235.2 kB / 498.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.3683, allocations: 8.812 kB / 498.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.3683, allocations: 8.406 kB / 498.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3683, allocations: 192 / 498.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3683, allocations: 11.55 kB / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3683, allocations: 0 / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3683, allocations: 0 / 498.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.3687, allocations: 206.6 kB / 498.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3687, allocations: 94.78 kB / 499 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3688, allocations: 1.891 kB / 499 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.3689, allocations: 9.188 kB / 499 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.3689, allocations: 9.625 kB / 499 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3689, allocations: 3.406 kB / 499 MB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3691, allocations: 178 kB / 499.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3691, allocations: 0 / 499.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000468/0.3696, allocations: 71.48 kB / 499.2 MB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003294/0.3699, allocations: 173.2 kB / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.3704, allocations: 177.5 kB / 499.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3704, allocations: 1.438 kB / 499.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3706, allocations: 99.22 kB / 499.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.371, allocations: 28.22 kB / 499.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.3717, allocations: 364.4 kB / 0.4883 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3719, allocations: 0.7308 MB / 0.489 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.372, allocations: 18.53 kB / 0.4891 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.372, allocations: 14.88 kB / 0.4891 GB, free: 12.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.372, allocations: 0 / 0.4891 GB, free: 12.02 MB / 382.1 MB Notification: Performance of Templates: time 0.009745/0.3818, allocations: 4.267 MB / 0.4932 GB, free: 11.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)