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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 118.2 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 215.3 kB / 21.41 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.5 MB / 251.7 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2194/0.2194, allocations: 46.14 MB / 351.1 MB, free: 14.34 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002237/0.002237, allocations: 84.8 kB / 489.7 MB, free: 28.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 62.46 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003254/0.1209, allocations: 1.872 MB / 0.541 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1224, allocations: 0.8412 MB / 0.5419 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1225, allocations: 0 / 0.5419 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1228, allocations: 59.73 kB / 0.5419 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.1231, allocations: 83.55 kB / 0.542 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1234, allocations: 75.73 kB / 0.5421 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1237, allocations: 274.6 kB / 0.5423 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.1238, allocations: 36.61 kB / 0.5424 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.124, allocations: 99.5 kB / 0.5425 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1242, allocations: 115.5 kB / 0.5426 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1242, allocations: 7.938 kB / 0.5426 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.1245, allocations: 127.8 kB / 0.5427 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.1246, allocations: 59.75 kB / 0.5427 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1247, allocations: 103.3 kB / 0.5428 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1251, allocations: 306.5 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1251, allocations: 0 / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1251, allocations: 0 / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1251, allocations: 4 kB / 0.5431 GB, free: 0.7305 MB / 398.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.0008385/0.126, allocations: 0.5649 MB / 0.5437 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.126, allocations: 12.03 kB / 0.5437 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.133e-05/0.1261, allocations: 66.72 kB / 0.5438 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.1262, allocations: 30.23 kB / 0.5438 GB, free: 0 / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1265, allocations: 236.3 kB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1265, allocations: 23 kB / 0.544 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.1265, allocations: 27.98 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.1272, allocations: 365.3 kB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1272, allocations: 0 / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1272, allocations: 15.98 kB / 0.5444 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.1273, allocations: 36.56 kB / 0.5445 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.1279, allocations: 374.3 kB / 0.5448 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1292, allocations: 0.8428 MB / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.1297, allocations: 260.2 kB / 0.5459 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1299, allocations: 100.8 kB / 0.546 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.13, allocations: 3.984 kB / 0.546 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.13, allocations: 38.56 kB / 0.546 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.13, allocations: 0 / 0.546 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007805/0.1308, allocations: 330.5 kB / 0.5464 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1308, allocations: 51.41 kB / 0.5464 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1312, allocations: 342.8 kB / 0.5467 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.1312, allocations: 29.7 kB / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1314, allocations: 176.1 kB / 0.5469 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1314, allocations: 55.53 kB / 0.547 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.1316, allocations: 65.88 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1317, allocations: 334.8 kB / 0.5474 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1319, allocations: 104.3 kB / 0.5475 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1323, allocations: 184 kB / 0.5476 GB, free: 11.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.1332, allocations: 305.8 kB / 0.5479 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.1332, allocations: 4 kB / 0.5479 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009701/0.1342, allocations: 341 kB / 0.5483 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1342, allocations: 13.66 kB / 0.5483 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1342, allocations: 0 / 0.5483 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.1343, allocations: 8 kB / 0.5483 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000827/0.1351, allocations: 120.2 kB / 0.5484 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.1382, allocations: 3.664 MB / 0.552 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.1386, allocations: 43.91 kB / 0.552 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.1386, allocations: 23.98 kB / 0.552 GB, free: 7.172 MB / 414.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.000393/0.139, allocations: 173.7 kB / 0.5522 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.1391, allocations: 23.86 kB / 0.5522 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1402, allocations: 331.4 kB / 0.5525 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1402, allocations: 8 kB / 0.5525 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1402, allocations: 0 / 0.5525 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1402, allocations: 0 / 0.5525 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1408, allocations: 297.4 kB / 0.5528 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1408, allocations: 3.938 kB / 0.5528 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.1415, allocations: 99.95 kB / 0.5529 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.1415, allocations: 7.938 kB / 0.5529 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.1416, allocations: 11.98 kB / 0.5529 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.1446, allocations: 3.645 MB / 0.5565 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1446, allocations: 4.031 kB / 0.5565 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.1455, allocations: 357.9 kB / 0.5569 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1456, allocations: 100.9 kB / 0.5569 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.1457, allocations: 8 kB / 0.557 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.146, allocations: 7.984 kB / 0.557 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.1461, allocations: 11.98 kB / 0.557 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.1461, allocations: 11.98 kB / 0.557 GB, free: 1.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.1466, allocations: 241.9 kB / 0.5572 GB, free: 1.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1466, allocations: 0 / 0.5572 GB, free: 1.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006578/0.1472, allocations: 87.88 kB / 0.5573 GB, free: 1.535 MB / 414.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.001467/0.1487, allocations: 0.9111 MB / 0.5582 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1501, allocations: 316.3 kB / 0.5585 GB, free: 296 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1502, allocations: 8 kB / 0.5585 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009138/0.1511, allocations: 190.4 kB / 0.5587 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.1518, allocations: 68.77 kB / 0.5587 GB, free: 28 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/0.159, allocations: 3.363 MB / 0.562 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.1596, allocations: 0.7989 MB / 0.5628 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.16, allocations: 82.88 kB / 0.5629 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.1603, allocations: 71.41 kB / 0.563 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1603, allocations: 0 / 0.563 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04746/0.2077, allocations: 8.667 MB / 0.5714 GB, free: 3.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.06, allocations: 6.438 kB / 0.5714 GB, free: 3.102 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000201839 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.943202291848138] Failed to read output from testmodel.py, exit status != 0: ['time', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'Nu[1]', 'Nu[2]', 'Nu[3]', 'm_flow_1[1]', 'm_flow_1[2]', 'm_flow_1[3]', 'm_flow_2[1]', 'm_flow_2[2]', 'm_flow_2[3]', 'kc[1]', 'kc[2]', 'kc[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Re_2[1]', 'Re_2[2]', 'Re_2[3]', 'input_Nu.y'] 12.160593628883362 12.174780186 12.047005032 Calling exit ...