Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.00644/0.00644, allocations: 101.6 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.001414/0.001415, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.512/1.512, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3523/0.3523, allocations: 39.95 MB / 309.8 MB, free: 9.32 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.2. 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.001445/0.001445, allocations: 71.89 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3434, allocations: 56.87 MB / 492.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002888/0.3463, allocations: 2.108 MB / 494.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3479, allocations: 1.424 MB / 496.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.348, allocations: 1.125 kB / 496.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.3483, allocations: 88.59 kB / 496.3 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.3484, allocations: 60.23 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.349, allocations: 216.2 kB / 496.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3492, allocations: 146 kB / 496.7 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.3492, allocations: 21.69 kB / 496.7 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3494, allocations: 65.36 kB / 496.8 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.3495, allocations: 61.09 kB / 496.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3495, allocations: 3.844 kB / 496.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.3501, allocations: 429.2 kB / 497.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.3502, allocations: 19.86 kB / 497.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.3502, allocations: 79.58 kB / 497.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.3508, allocations: 435.6 kB / 497.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3508, allocations: 4 kB / 497.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3508, allocations: 0 / 497.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3508, allocations: 5.281 kB / 497.8 MB, free: 16.14 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.0005406/0.3513, allocations: 499.7 kB / 498.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3514, allocations: 9.188 kB / 498.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.3514, allocations: 23.83 kB / 498.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3516, allocations: 210.4 kB / 498.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3516, allocations: 15.31 kB / 498.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3516, allocations: 22.81 kB / 498.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.352, allocations: 201.8 kB / 498.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.352, allocations: 0 / 498.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.352, allocations: 9.25 kB / 498.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.352, allocations: 5.188 kB / 498.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.3524, allocations: 149.7 kB / 498.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.3531, allocations: 0.5791 MB / 499.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3533, allocations: 62.59 kB / 499.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3534, allocations: 30.91 kB / 499.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3535, allocations: 5.609 kB / 499.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.3535, allocations: 32.28 kB / 499.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3535, allocations: 4 kB / 499.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004503/0.354, allocations: 134.2 kB / 499.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.354, allocations: 53.02 kB / 499.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3542, allocations: 256.5 kB / 0.4884 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3542, allocations: 25.7 kB / 0.4884 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/0.3543, allocations: 165 kB / 0.4885 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3544, allocations: 20.59 kB / 0.4886 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.3544, allocations: 44.28 kB / 0.4886 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.3545, allocations: 335 kB / 0.4889 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3546, allocations: 42.05 kB / 0.489 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.3548, allocations: 132.5 kB / 0.4891 GB, free: 13.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.3551, allocations: 188.1 kB / 0.4893 GB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3551, allocations: 1.312 kB / 0.4893 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004175/0.3555, allocations: 199.8 kB / 0.4895 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3556, allocations: 6.656 kB / 0.4895 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.3556, allocations: 17.17 kB / 0.4895 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3556, allocations: 8.828 kB / 0.4895 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3558, allocations: 26.81 kB / 0.4895 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3558, allocations: 9.625 kB / 0.4895 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3559, allocations: 29.94 kB / 0.4896 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3559, allocations: 18.16 kB / 0.4896 GB, free: 13.51 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.561e-05/0.356, allocations: 131.5 kB / 0.4897 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.3561, allocations: 20.94 kB / 0.4897 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.3564, allocations: 138 kB / 0.4899 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3565, allocations: 0 / 0.4899 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.3565, allocations: 1.531 kB / 0.4899 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3565, allocations: 3.75 kB / 0.4899 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.3567, allocations: 222.9 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.3567, allocations: 8.781 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.3568, allocations: 4.344 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3568, allocations: 1.219 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3568, allocations: 5.656 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3568, allocations: 4 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3568, allocations: 4.938 kB / 0.4901 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3571, allocations: 211 kB / 0.4903 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3571, allocations: 95.45 kB / 0.4904 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3572, allocations: 1.156 kB / 0.4904 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3573, allocations: 6.062 kB / 0.4904 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3573, allocations: 8.062 kB / 0.4904 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3573, allocations: 7.469 kB / 0.4904 GB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.3575, allocations: 183.5 kB / 0.4906 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3575, allocations: 0 / 0.4906 GB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.3579, allocations: 70.17 kB / 0.4907 GB, free: 12.69 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.0002761/0.3581, allocations: 173.7 kB / 0.4908 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3586, allocations: 174.4 kB / 0.491 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3586, allocations: 0 / 0.491 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.3588, allocations: 103.8 kB / 0.4911 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3591, allocations: 24.33 kB / 0.4911 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.3597, allocations: 355.4 kB / 0.4914 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.3599, allocations: 0.7311 MB / 0.4922 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3599, allocations: 18.22 kB / 0.4922 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.3599, allocations: 18.81 kB / 0.4922 GB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3599, allocations: 0 / 0.4922 GB, free: 11.45 MB / 382.1 MB Notification: Performance of Templates: time 0.008142/0.3681, allocations: 4.164 MB / 0.4963 GB, free: 9.918 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1)