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_KC.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_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005638/0.005638, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001233/0.001233, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.655/1.655, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3237/0.3237, allocations: 37.99 MB / 307.9 MB, free: 10.22 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.0015/0.0015, allocations: 63.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3372, allocations: 56.48 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00344/0.3407, allocations: 2.171 MB / 491.7 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3426, allocations: 1.105 MB / 492.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3428, allocations: 5 kB / 492.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.3432, allocations: 87.92 kB / 492.9 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.3435, allocations: 83.7 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3439, allocations: 118.1 kB / 493.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.3441, allocations: 181.8 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.3442, allocations: 20.31 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3444, allocations: 69.53 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.3446, allocations: 91.56 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.3446, allocations: 6.188 kB / 493.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.3451, allocations: 255.9 kB / 493.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.3452, allocations: 30.98 kB / 493.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3453, allocations: 82.12 kB / 493.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.3458, allocations: 325.7 kB / 494.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3459, allocations: 0 / 494.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3459, allocations: 4 kB / 494.1 MB, free: 16.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3459, allocations: 0 / 494.1 MB, free: 16.93 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007381/0.3466, allocations: 0.4972 MB / 494.6 MB, free: 16.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.3467, allocations: 14.38 kB / 494.6 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.3468, allocations: 28.62 kB / 494.7 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.347, allocations: 223.3 kB / 494.9 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.347, allocations: 17.56 kB / 494.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.3471, allocations: 26.72 kB / 494.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.3476, allocations: 230 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3477, allocations: 0 / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.3477, allocations: 5.812 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3477, allocations: 5.156 kB / 495.1 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.3482, allocations: 250.6 kB / 495.4 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3494, allocations: 0.6245 MB / 496 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3497, allocations: 95.73 kB / 496.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3498, allocations: 47.72 kB / 496.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3499, allocations: 1.75 kB / 496.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3499, allocations: 35.59 kB / 496.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3499, allocations: 5.219 kB / 496.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006235/0.3506, allocations: 162.8 kB / 496.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3506, allocations: 60.34 kB / 496.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.3509, allocations: 266.1 kB / 496.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3509, allocations: 30.31 kB / 496.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.351, allocations: 173.5 kB / 496.9 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3511, allocations: 36.45 kB / 496.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.3512, allocations: 43.81 kB / 497 MB, free: 14.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.3512, allocations: 340 kB / 497.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3514, allocations: 51.33 kB / 497.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.3516, allocations: 142.9 kB / 497.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.352, allocations: 212.1 kB / 497.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.352, allocations: 1.094 kB / 497.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005185/0.3525, allocations: 238.3 kB / 497.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3525, allocations: 6.781 kB / 497.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3526, allocations: 4.203 kB / 497.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3526, allocations: 4.938 kB / 497.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.353, allocations: 86.05 kB / 498 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005127/0.3535, allocations: 1.219 MB / 499.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.3538, allocations: 39.55 kB / 499.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3538, allocations: 10.38 kB / 499.3 MB, free: 12.95 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.3539, allocations: 140.1 kB / 499.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.354, allocations: 25.34 kB / 499.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/0.3544, allocations: 165.5 kB / 499.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3545, allocations: 1.375 kB / 499.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3545, allocations: 5.375 kB / 499.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3545, allocations: 0.5156 kB / 499.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.3552, allocations: 457.7 kB / 0.4883 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3552, allocations: 0.6562 kB / 0.4883 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.3555, allocations: 54.47 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3555, allocations: 1.984 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3555, allocations: 11.38 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.3561, allocations: 1.208 MB / 0.4896 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3561, allocations: 1.375 kB / 0.4896 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.3565, allocations: 250.1 kB / 0.4898 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.3566, allocations: 98.38 kB / 0.4899 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3566, allocations: 2.078 kB / 0.4899 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3568, allocations: 14.09 kB / 0.4899 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.3569, allocations: 16.81 kB / 0.49 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3569, allocations: 2.75 kB / 0.49 GB, free: 10.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.3571, allocations: 187.3 kB / 0.4901 GB, free: 10.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.3571, allocations: 0 / 0.4901 GB, free: 10.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.3576, allocations: 67.55 kB / 0.4902 GB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.3579, allocations: 146 kB / 0.4903 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.3586, allocations: 177.5 kB / 0.4905 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3586, allocations: 4.125 kB / 0.4905 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.359, allocations: 82.14 kB / 0.4906 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.3596, allocations: 31 kB / 0.4906 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3609, allocations: 391.1 kB / 0.491 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3613, allocations: 0.7336 MB / 0.4917 GB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3614, allocations: 21.34 kB / 0.4917 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.3615, allocations: 18.75 kB / 0.4917 GB, free: 9.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3615, allocations: 0 / 0.4917 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Templates: time 0.009418/0.3709, allocations: 3.541 MB / 0.4952 GB, free: 9.289 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1)