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_laminar.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_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004975/0.004975, allocations: 102 kB / 15.73 MB, free: 6.477 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.001126/0.001126, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.3414/0.3414, allocations: 38 MB / 307.9 MB, free: 10.01 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.001557/0.001557, allocations: 71.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.368, allocations: 56.45 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003895/0.372, allocations: 2.213 MB / 491.7 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.374, allocations: 1.159 MB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3742, allocations: 2.062 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.3745, allocations: 65.61 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3748, allocations: 111.7 kB / 493 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.3755, allocations: 179.3 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.376, allocations: 499.3 kB / 493.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.3762, allocations: 66.8 kB / 493.8 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.3766, allocations: 168.9 kB / 493.9 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.3769, allocations: 201 kB / 494.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.377, allocations: 14.25 kB / 494.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007713/0.3778, allocations: 326 kB / 494.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.378, allocations: 98.45 kB / 494.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.3783, allocations: 187.5 kB / 494.7 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.3793, allocations: 0.5776 MB / 495.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3793, allocations: 0 / 495.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3793, allocations: 0 / 495.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3793, allocations: 0 / 495.3 MB, free: 16.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001455/0.3808, allocations: 0.7525 MB / 496.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3808, allocations: 14.31 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.381, allocations: 46.81 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.3814, allocations: 299.9 kB / 496.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.3814, allocations: 38.81 kB / 496.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.3815, allocations: 46.28 kB / 496.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.383, allocations: 0.6555 MB / 497.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.383, allocations: 0 / 497.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3831, allocations: 20.47 kB / 497.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.3832, allocations: 24.16 kB / 497.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.3845, allocations: 483.7 kB / 497.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.3872, allocations: 1.507 MB / 499.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.388, allocations: 309 kB / 499.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.3884, allocations: 146.2 kB / 499.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.801e-05/0.3885, allocations: 11.39 kB / 499.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3885, allocations: 37.16 kB / 499.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.614e-06/0.3885, allocations: 0 / 499.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001416/0.3899, allocations: 0.4922 MB / 0.4884 GB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.39, allocations: 110.8 kB / 0.4885 GB, free: 13.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.3907, allocations: 0.5391 MB / 0.4891 GB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3908, allocations: 30.73 kB / 0.4891 GB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3909, allocations: 231.3 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.391, allocations: 62.59 kB / 0.4894 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3912, allocations: 88.58 kB / 0.4895 GB, free: 13.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3913, allocations: 357.8 kB / 0.4898 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.3917, allocations: 155.3 kB / 0.49 GB, free: 13.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.3921, allocations: 278.2 kB / 0.4902 GB, free: 12.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.3929, allocations: 454.8 kB / 0.4907 GB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.393, allocations: 1.281 kB / 0.4907 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001012/0.394, allocations: 0.4979 MB / 0.4911 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.394, allocations: 7.156 kB / 0.4912 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.79e-05/0.3941, allocations: 40.31 kB / 0.4912 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.3941, allocations: 9.938 kB / 0.4912 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3944, allocations: 48.78 kB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3944, allocations: 6.656 kB / 0.4913 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.3948, allocations: 79.11 kB / 0.4913 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3948, allocations: 25.27 kB / 0.4914 GB, free: 12.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0002127/0.395, allocations: 208.7 kB / 0.4916 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3952, allocations: 37.66 kB / 0.4916 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.3961, allocations: 446.3 kB / 0.492 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3961, allocations: 8.562 kB / 0.492 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3961, allocations: 2.688 kB / 0.492 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3961, allocations: 9.094 kB / 0.492 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.3968, allocations: 386.6 kB / 0.4924 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.69e-05/0.3969, allocations: 36.55 kB / 0.4924 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.397, allocations: 24.84 kB / 0.4925 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.397, allocations: 1.375 kB / 0.4925 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.3971, allocations: 13.56 kB / 0.4925 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3971, allocations: 7.047 kB / 0.4925 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3971, allocations: 5.312 kB / 0.4925 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009074/0.398, allocations: 0.6084 MB / 0.4931 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3981, allocations: 123.2 kB / 0.4932 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.3982, allocations: 6.891 kB / 0.4932 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.3985, allocations: 23.88 kB / 0.4932 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.3986, allocations: 22.17 kB / 0.4932 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.3986, allocations: 15.8 kB / 0.4933 GB, free: 11.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004849/0.3991, allocations: 393.1 kB / 0.4936 GB, free: 11.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3991, allocations: 0 / 0.4936 GB, free: 11.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.3998, allocations: 136.4 kB / 0.4938 GB, free: 11.21 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.0003946/0.4002, allocations: 156.9 kB / 0.4939 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4014, allocations: 0.6601 MB / 0.4946 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4014, allocations: 0 / 0.4946 GB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.402, allocations: 484.5 kB / 0.495 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.4028, allocations: 129 kB / 0.4951 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.4047, allocations: 0.8963 MB / 0.496 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.4051, allocations: 0.8644 MB / 0.4969 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002433/0.4053, allocations: 93.05 kB / 0.497 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.4054, allocations: 27.66 kB / 0.497 GB, free: 9.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4054, allocations: 0 / 0.497 GB, free: 9.031 MB / 382.1 MB Notification: Performance of Templates: time 0.01708/0.4225, allocations: 8.568 MB / 0.5053 GB, free: 4.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)