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_KC.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_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2336/0.2336, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002648/0.002648, allocations: 80.55 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1415, allocations: 62.46 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003468/0.145, allocations: 1.885 MB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1465, allocations: 0.8373 MB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.1466, allocations: 7.938 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1469, allocations: 51.72 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1472, allocations: 87.56 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1475, allocations: 78.59 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1479, allocations: 266.7 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.148, allocations: 28.38 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.1482, allocations: 103.5 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1484, allocations: 123.4 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1485, allocations: 8 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.1488, allocations: 119.8 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1489, allocations: 63.69 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.149, allocations: 103.3 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004413/0.1495, allocations: 303.1 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1495, allocations: 0 / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1495, allocations: 4 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1495, allocations: 0 / 484.3 MB, free: 1.035 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009357/0.1505, allocations: 0.5575 MB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1505, allocations: 8.031 kB / 484.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.1506, allocations: 66.72 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.1507, allocations: 28.56 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.151, allocations: 234 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.151, allocations: 24.92 kB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.151, allocations: 27.94 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.1517, allocations: 373.2 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1518, allocations: 0 / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1518, allocations: 12 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.1519, allocations: 28.62 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.1525, allocations: 370.3 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1539, allocations: 0.8501 MB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.1545, allocations: 258.3 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.1547, allocations: 100.3 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.1547, allocations: 3.984 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1548, allocations: 46.55 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.1548, allocations: 0 / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007968/0.1556, allocations: 325.2 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1556, allocations: 59.41 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.1561, allocations: 338.8 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1561, allocations: 29.7 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1562, allocations: 168 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.1563, allocations: 55.2 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1564, allocations: 57.94 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1566, allocations: 342.8 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1568, allocations: 92.38 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1571, allocations: 191.9 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.1577, allocations: 310.8 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1577, allocations: 0 / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006853/0.1584, allocations: 354.9 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1584, allocations: 8 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1584, allocations: 4 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1585, allocations: 4 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.1591, allocations: 123.9 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1614, allocations: 3.653 MB / 493.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1616, allocations: 39.53 kB / 493.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.1617, allocations: 19.98 kB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.162, allocations: 176.7 kB / 493.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.162, allocations: 27.81 kB / 493.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.1628, allocations: 327.5 kB / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.1628, allocations: 7.984 kB / 493.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1628, allocations: 0 / 493.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1628, allocations: 0 / 493.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1632, allocations: 305.3 kB / 494.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1632, allocations: 0 / 494.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.1637, allocations: 107.9 kB / 494.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1637, allocations: 0 / 494.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1637, allocations: 11.98 kB / 494.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.166, allocations: 3.649 MB / 497.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.166, allocations: 0 / 497.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.1666, allocations: 349.5 kB / 498.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.1667, allocations: 104.7 kB / 498.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.1668, allocations: 11.94 kB / 498.4 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1669, allocations: 12.08 kB / 498.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.167, allocations: 15.98 kB / 498.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.167, allocations: 7.984 kB / 498.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.1673, allocations: 241.9 kB / 498.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1673, allocations: 0 / 498.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.1678, allocations: 83.92 kB / 498.8 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.1688, allocations: 0.9071 MB / 499.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009763/0.1698, allocations: 343.6 kB / 500 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1698, allocations: 0 / 500 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.1704, allocations: 184.5 kB / 0.4885 GB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1709, allocations: 75.88 kB / 0.4885 GB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.1754, allocations: 3.385 MB / 0.4918 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1759, allocations: 0.7951 MB / 0.4926 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.1761, allocations: 78.89 kB / 0.4927 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1763, allocations: 75.41 kB / 0.4928 GB, free: 11.83 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1763, allocations: 0 / 0.4928 GB, free: 11.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.211, allocations: 8.501 MB / 0.5011 GB, free: 3.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.14, allocations: 12.12 kB / 0.5011 GB, free: 3.566 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_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_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)