Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.233/0.233, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003593/0.003593, allocations: 77.44 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1291, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003401/0.1325, allocations: 1.918 MB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1344, allocations: 1.16 MB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.1345, allocations: 7.938 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1347, allocations: 51.67 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1349, allocations: 67.59 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.1354, allocations: 186.9 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.1357, allocations: 227.1 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.1358, allocations: 21.67 kB / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.136, allocations: 95.5 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1362, allocations: 103.5 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1362, allocations: 12 kB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.1367, allocations: 255.6 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.1368, allocations: 55.75 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1369, allocations: 87.42 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.1375, allocations: 327.2 kB / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1375, allocations: 0 / 484.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1375, allocations: 3.938 kB / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1375, allocations: 0 / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0012/0.1387, allocations: 0.5592 MB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1388, allocations: 12.03 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.1388, allocations: 50.67 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.1392, allocations: 56.61 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1396, allocations: 236.6 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1396, allocations: 8.375 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.1396, allocations: 23.94 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.1403, allocations: 281.6 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1403, allocations: 0 / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.1403, allocations: 8 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.1404, allocations: 11.98 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.141, allocations: 223.5 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1422, allocations: 0.7733 MB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1428, allocations: 223.7 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.1431, allocations: 106.5 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.1432, allocations: 0 / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1432, allocations: 42.53 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1432, allocations: 0 / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001015/0.1442, allocations: 305.3 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.1443, allocations: 110.9 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.1447, allocations: 286.4 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.1447, allocations: 25.7 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1449, allocations: 148 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.1449, allocations: 51.44 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.145, allocations: 37.64 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1452, allocations: 334.8 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1455, allocations: 83.91 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1458, allocations: 131.6 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.1463, allocations: 221.2 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1463, allocations: 0 / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006668/0.147, allocations: 269.1 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.147, allocations: 7.938 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.1471, allocations: 12 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1471, allocations: 4 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.1473, allocations: 31.95 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1473, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1475, allocations: 35.89 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.1476, allocations: 15.92 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001627/0.1477, allocations: 145.8 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.1478, allocations: 31.66 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.1484, allocations: 215.3 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1484, allocations: 4 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1484, allocations: 4 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1484, allocations: 3.984 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.1488, allocations: 265.4 kB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.1489, allocations: 15.94 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.149, allocations: 23.97 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.1491, allocations: 7.938 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1491, allocations: 7.984 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1491, allocations: 0 / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1491, allocations: 0 / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.1498, allocations: 485.5 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.1499, allocations: 104.8 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1499, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1502, allocations: 27.97 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.1503, allocations: 11.98 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1503, allocations: 8 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1505, allocations: 197.9 kB / 491 MB, free: 9.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1505, allocations: 4 kB / 491 MB, free: 9.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.151, allocations: 79.92 kB / 491 MB, free: 9.879 MB / 366.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001188/0.1521, allocations: 1.078 MB / 492.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.1529, allocations: 284.8 kB / 492.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1529, allocations: 0 / 492.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.1532, allocations: 181 kB / 492.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1538, allocations: 48.95 kB / 492.6 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.1583, allocations: 2.977 MB / 495.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1587, allocations: 0.7597 MB / 496.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1589, allocations: 45.5 kB / 496.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.159, allocations: 59.41 kB / 496.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.159, allocations: 0 / 496.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.1925, allocations: 6.551 MB / 0.4912 GB, free: 13.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.285, allocations: 14.69 kB / 0.4912 GB, free: 13.87 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)