Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007702/0.007702, allocations: 102.8 kB / 15.73 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.001628/0.001629, allocations: 196.3 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3266/0.3266, allocations: 38 MB / 307.9 MB, free: 10.08 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.001545/0.001545, allocations: 71.89 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3489, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.00386/0.3528, allocations: 2.251 MB / 491.7 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.3558, allocations: 2.09 MB / 493.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.356, allocations: 2.812 kB / 493.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.3564, allocations: 76.44 kB / 493.9 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.3567, allocations: 103.7 kB / 494 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3579, allocations: 425.3 kB / 494.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006131/0.3586, allocations: 0.5139 MB / 494.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3587, allocations: 76.81 kB / 495 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.359, allocations: 174.7 kB / 495.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.3593, allocations: 216 kB / 495.4 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.3593, allocations: 14.03 kB / 495.4 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3605, allocations: 0.668 MB / 496.1 MB, free: 16.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3607, allocations: 107.4 kB / 496.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.361, allocations: 205.4 kB / 496.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.3623, allocations: 0.8355 MB / 497.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3623, allocations: 0.6094 kB / 497.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3624, allocations: 0 / 497.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3624, allocations: 0 / 497.2 MB, free: 15.52 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001621/0.364, allocations: 0.838 MB / 498.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.3641, allocations: 10.28 kB / 498.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3642, allocations: 62.41 kB / 498.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.3647, allocations: 304.5 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.3648, allocations: 43.69 kB / 498.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.3649, allocations: 59.09 kB / 498.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3663, allocations: 0.7643 MB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3663, allocations: 4 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.3664, allocations: 20.94 kB / 499.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.3664, allocations: 26.59 kB / 499.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3675, allocations: 0.5526 MB / 499.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.3701, allocations: 1.691 MB / 0.4898 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.3707, allocations: 306.5 kB / 0.4901 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.3711, allocations: 146.7 kB / 0.4903 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.3712, allocations: 12.11 kB / 0.4903 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.3712, allocations: 33.53 kB / 0.4903 GB, free: 13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.234e-06/0.3712, allocations: 4 kB / 0.4903 GB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001395/0.3726, allocations: 0.5071 MB / 0.4908 GB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3727, allocations: 106.2 kB / 0.4909 GB, free: 12.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.3734, allocations: 0.6405 MB / 0.4915 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3735, allocations: 27.11 kB / 0.4916 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3736, allocations: 291.3 kB / 0.4918 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.3737, allocations: 81.72 kB / 0.4919 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.3739, allocations: 122.9 kB / 0.492 GB, free: 12.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.374, allocations: 365.2 kB / 0.4924 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.3744, allocations: 194.5 kB / 0.4926 GB, free: 11.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.375, allocations: 456.2 kB / 0.493 GB, free: 11.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.376, allocations: 0.6731 MB / 0.4937 GB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.376, allocations: 6.75 kB / 0.4937 GB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001465/0.3775, allocations: 0.6839 MB / 0.4943 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.3775, allocations: 13.66 kB / 0.4943 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/0.3776, allocations: 54.31 kB / 0.4944 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.3777, allocations: 12.03 kB / 0.4944 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.378, allocations: 70.3 kB / 0.4945 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.378, allocations: 21.34 kB / 0.4945 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.3785, allocations: 100.8 kB / 0.4946 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.3786, allocations: 38.5 kB / 0.4946 GB, free: 10.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003455/0.379, allocations: 254.7 kB / 0.4949 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3791, allocations: 50.06 kB / 0.4949 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3802, allocations: 465.3 kB / 0.4954 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.3802, allocations: 9.484 kB / 0.4954 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3802, allocations: 1.219 kB / 0.4954 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3802, allocations: 5.25 kB / 0.4954 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3809, allocations: 409.4 kB / 0.4958 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/0.381, allocations: 38.12 kB / 0.4958 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3811, allocations: 23.91 kB / 0.4958 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3811, allocations: 5.469 kB / 0.4958 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.3812, allocations: 20.39 kB / 0.4959 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3812, allocations: 5.062 kB / 0.4959 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3812, allocations: 1.188 kB / 0.4959 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.382, allocations: 0.6234 MB / 0.4965 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3821, allocations: 135.5 kB / 0.4966 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.3822, allocations: 9.625 kB / 0.4966 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.3825, allocations: 18.03 kB / 0.4966 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.567e-05/0.3826, allocations: 21.58 kB / 0.4966 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.3826, allocations: 18.58 kB / 0.4967 GB, free: 9.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.383, allocations: 443 kB / 0.4971 GB, free: 9.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.383, allocations: 4 kB / 0.4971 GB, free: 9.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008359/0.3839, allocations: 179.8 kB / 0.4973 GB, free: 9.047 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004163/0.3843, allocations: 226.4 kB / 0.4975 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3854, allocations: 0.7525 MB / 0.4982 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3854, allocations: 1.062 kB / 0.4982 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.3858, allocations: 489.6 kB / 0.4987 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.3865, allocations: 124.2 kB / 0.4988 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3882, allocations: 1.001 MB / 0.4998 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3886, allocations: 0.8873 MB / 0.5006 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003272/0.3889, allocations: 143.4 kB / 0.5008 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.389, allocations: 32.16 kB / 0.5008 GB, free: 6.422 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.389, allocations: 0 / 0.5008 GB, free: 6.422 MB / 382.1 MB Notification: Performance of Templates: time 0.02023/0.4092, allocations: 10.63 MB / 0.5112 GB, free: 0.7188 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)