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.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 208.6 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.502/1.502, 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.2296/0.2296, 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.002739/0.00274, allocations: 74.81 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1258, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003924/0.1298, allocations: 2.035 MB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1318, allocations: 1.145 MB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.1319, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1322, allocations: 59.55 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.1324, allocations: 83.52 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.133, allocations: 163.4 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.1334, allocations: 330.6 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.1335, allocations: 36.72 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1337, allocations: 123.4 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1339, allocations: 139.3 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.134, allocations: 8 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.1344, allocations: 215.7 kB / 484.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1345, allocations: 71.67 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1346, allocations: 127.1 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.1351, allocations: 406.8 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1352, allocations: 0 / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1352, allocations: 0 / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1352, allocations: 0 / 485.1 MB, free: 188 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001133/0.1363, allocations: 0.6198 MB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1364, allocations: 12.03 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.852e-05/0.1365, allocations: 66.7 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.1368, allocations: 64.53 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.1371, allocations: 263.4 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1372, allocations: 20.56 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1372, allocations: 24 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007133/0.1379, allocations: 441.8 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.138, allocations: 0 / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.138, allocations: 12 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.138, allocations: 12.56 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.1387, allocations: 325.9 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1402, allocations: 1.1 MB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.1407, allocations: 235.7 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.141, allocations: 114.4 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.141, allocations: 11.97 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1411, allocations: 42.5 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1411, allocations: 0 / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001005/0.1421, allocations: 352.9 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.1422, allocations: 106.8 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.1426, allocations: 405.8 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1426, allocations: 33.7 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1428, allocations: 191.8 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.1428, allocations: 51.34 kB / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1429, allocations: 65.92 kB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1431, allocations: 342.8 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.1434, allocations: 120.1 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.1438, allocations: 239.7 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.1446, allocations: 363 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1446, allocations: 4 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008401/0.1454, allocations: 401.4 kB / 491.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1454, allocations: 8.031 kB / 491.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/0.1455, allocations: 31.98 kB / 491.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1455, allocations: 8 kB / 491.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1458, allocations: 43.91 kB / 491.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.1458, allocations: 11.92 kB / 491.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.1461, allocations: 55.52 kB / 491.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.1461, allocations: 20 kB / 491.3 MB, free: 9.656 MB / 366.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001888/0.1463, allocations: 180.7 kB / 491.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.1464, allocations: 31.62 kB / 491.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006362/0.147, allocations: 288.1 kB / 491.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1471, allocations: 3.984 kB / 491.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1471, allocations: 7.938 kB / 491.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1471, allocations: 4 kB / 491.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.1476, allocations: 297.5 kB / 492.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-05/0.1476, allocations: 23.98 kB / 492.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1478, allocations: 23.97 kB / 492.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1478, allocations: 0 / 492.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1478, allocations: 8 kB / 492.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1478, allocations: 0 / 492.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.1478, allocations: 11.88 kB / 492.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.1486, allocations: 0.4976 MB / 492.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1487, allocations: 108.7 kB / 492.7 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.1487, allocations: 4 kB / 492.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.149, allocations: 23.97 kB / 492.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.1491, allocations: 19.92 kB / 492.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1491, allocations: 4 kB / 492.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003151/0.1494, allocations: 295.1 kB / 493.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1494, allocations: 0 / 493.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000506/0.1499, allocations: 87.94 kB / 493.2 MB, free: 7.664 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001237/0.1512, allocations: 1.101 MB / 494.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008268/0.152, allocations: 441.9 kB / 494.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.152, allocations: 0 / 494.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.1524, allocations: 275 kB / 495 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.153, allocations: 81.69 kB / 495 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.1584, allocations: 3.85 MB / 498.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1589, allocations: 0.8026 MB / 499.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1591, allocations: 66.91 kB / 499.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1593, allocations: 87.41 kB / 499.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1593, allocations: 0 / 499.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.1916, allocations: 9.034 MB / 0.4969 GB, free: 7.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.318, allocations: 0.9375 kB / 0.4969 GB, free: 7.82 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)