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.007208/0.007209, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001375/0.001375, allocations: 191.6 kB / 16.68 MB, free: 5.965 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.577/1.577, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3356/0.3356, allocations: 38 MB / 307.9 MB, free: 10.2 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.003089/0.003089, allocations: 75.91 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3899, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003591/0.3935, allocations: 2.253 MB / 491.8 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.3967, allocations: 2.086 MB / 493.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.3969, allocations: 2.344 kB / 493.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.3973, allocations: 76.95 kB / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3976, allocations: 108 kB / 494 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3989, allocations: 433.4 kB / 494.4 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006883/0.3996, allocations: 0.519 MB / 495 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3997, allocations: 72.64 kB / 495 MB, free: 16.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.4, allocations: 173.8 kB / 495.2 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.4003, allocations: 220.7 kB / 495.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.4004, allocations: 14.38 kB / 495.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4017, allocations: 0.6604 MB / 496.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.4019, allocations: 118.2 kB / 496.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4021, allocations: 201.5 kB / 496.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.4035, allocations: 0.8292 MB / 497.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4035, allocations: 3.938 kB / 497.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4035, allocations: 0 / 497.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.4035, allocations: 0 / 497.2 MB, free: 15.46 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.001455/0.405, allocations: 0.8425 MB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.4051, allocations: 8.688 kB / 498.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4052, allocations: 54.56 kB / 498.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.4057, allocations: 309.7 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.4057, allocations: 39.59 kB / 498.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.4058, allocations: 58.56 kB / 498.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4071, allocations: 0.7717 MB / 499.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.4072, allocations: 0.9062 kB / 499.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.4072, allocations: 20.22 kB / 499.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.4073, allocations: 28.5 kB / 499.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4084, allocations: 0.5484 MB / 499.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.4109, allocations: 1.69 MB / 0.4898 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.4116, allocations: 306.4 kB / 0.4901 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.4119, allocations: 147.4 kB / 0.4903 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.412, allocations: 8.484 kB / 0.4903 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.412, allocations: 41.05 kB / 0.4903 GB, free: 12.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.345e-06/0.412, allocations: 0 / 0.4903 GB, free: 12.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001413/0.4135, allocations: 0.5077 MB / 0.4908 GB, free: 12.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.4135, allocations: 105.5 kB / 0.4909 GB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008533/0.4144, allocations: 0.6374 MB / 0.4915 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4144, allocations: 33.64 kB / 0.4916 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4146, allocations: 288.8 kB / 0.4919 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.4147, allocations: 80.19 kB / 0.4919 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.4149, allocations: 122.5 kB / 0.492 GB, free: 12.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.415, allocations: 361.8 kB / 0.4924 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.4155, allocations: 197.4 kB / 0.4926 GB, free: 11.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.4161, allocations: 458.1 kB / 0.493 GB, free: 11.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4172, allocations: 0.6756 MB / 0.4937 GB, free: 10.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4172, allocations: 3.281 kB / 0.4937 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001421/0.4186, allocations: 0.6849 MB / 0.4943 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4187, allocations: 13.28 kB / 0.4944 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.4188, allocations: 49.92 kB / 0.4944 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-05/0.4188, allocations: 12.62 kB / 0.4944 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.4192, allocations: 72.23 kB / 0.4945 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/0.4192, allocations: 23.7 kB / 0.4945 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.4197, allocations: 104.3 kB / 0.4946 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.4198, allocations: 34.56 kB / 0.4946 GB, free: 10.51 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.0002909/0.4201, allocations: 262.5 kB / 0.4949 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4202, allocations: 48.78 kB / 0.4949 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.4212, allocations: 466.2 kB / 0.4954 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4212, allocations: 4.938 kB / 0.4954 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4212, allocations: 1.375 kB / 0.4954 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4212, allocations: 2.156 kB / 0.4954 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.4219, allocations: 406.1 kB / 0.4958 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.586e-05/0.422, allocations: 40.67 kB / 0.4958 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.4221, allocations: 38.08 kB / 0.4959 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4222, allocations: 5.312 kB / 0.4959 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4222, allocations: 12.16 kB / 0.4959 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4222, allocations: 5.062 kB / 0.4959 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4222, allocations: 1.344 kB / 0.4959 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.4231, allocations: 0.6239 MB / 0.4965 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.4232, allocations: 131.6 kB / 0.4966 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.4233, allocations: 6.312 kB / 0.4966 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.4235, allocations: 18.48 kB / 0.4966 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.4236, allocations: 28.34 kB / 0.4967 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.4237, allocations: 14.53 kB / 0.4967 GB, free: 9.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004945/0.4242, allocations: 451.3 kB / 0.4971 GB, free: 9.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4242, allocations: 0 / 0.4971 GB, free: 9.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009932/0.4252, allocations: 180.1 kB / 0.4973 GB, free: 9.008 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.0004525/0.4257, allocations: 230.3 kB / 0.4975 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.4268, allocations: 0.7544 MB / 0.4982 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4268, allocations: 0.5 kB / 0.4982 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.4273, allocations: 489.1 kB / 0.4987 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.4281, allocations: 122 kB / 0.4988 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.43, allocations: 0.9919 MB / 0.4998 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.4304, allocations: 0.8985 MB / 0.5007 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.4308, allocations: 132.2 kB / 0.5008 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.4308, allocations: 36.92 kB / 0.5008 GB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4309, allocations: 0 / 0.5008 GB, free: 6.383 MB / 382.1 MB Notification: Performance of Templates: time 0.01728/0.4481, allocations: 10.45 MB / 0.511 GB, free: 0.8672 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)