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.HelicalPipe.kc_turbulent.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.001292/0.001292, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001383/0.001383, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.2473/0.2473, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.002247/0.002247, allocations: 83.84 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.125, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003442/0.1284, allocations: 2.138 MB / 0.5578 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1303, allocations: 1.23 MB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.998e-05/0.1304, allocations: 4 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1307, allocations: 63.59 kB / 0.559 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.131, allocations: 103.4 kB / 0.5591 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.1315, allocations: 186.8 kB / 0.5593 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.132, allocations: 441.9 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.1321, allocations: 32.73 kB / 0.5598 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.1323, allocations: 155.2 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1326, allocations: 183.1 kB / 0.5601 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.1326, allocations: 12 kB / 0.5601 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.133, allocations: 223.7 kB / 0.5603 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1331, allocations: 99.45 kB / 0.5604 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1333, allocations: 166.9 kB / 0.5606 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.1339, allocations: 0.49 MB / 0.561 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1339, allocations: 0 / 0.561 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1339, allocations: 0 / 0.561 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1339, allocations: 0 / 0.561 GB, free: 0.8867 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001175/0.1351, allocations: 0.7245 MB / 0.5618 GB, free: 116 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1351, allocations: 8.031 kB / 0.5618 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.1352, allocations: 90.64 kB / 0.5619 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.1356, allocations: 77.75 kB / 0.5619 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1361, allocations: 303.5 kB / 0.5622 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1361, allocations: 29.38 kB / 0.5622 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1361, allocations: 36.38 kB / 0.5623 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/0.1371, allocations: 0.5767 MB / 0.5628 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1371, allocations: 4 kB / 0.5628 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1371, allocations: 19.98 kB / 0.5629 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.1372, allocations: 21 kB / 0.5629 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.138, allocations: 423.5 kB / 0.5633 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1399, allocations: 1.376 MB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.1405, allocations: 263.6 kB / 0.5649 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1408, allocations: 134.5 kB / 0.565 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/0.1408, allocations: 11.92 kB / 0.565 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1409, allocations: 34.5 kB / 0.5651 GB, free: 12.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1409, allocations: 4 kB / 0.5651 GB, free: 12.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001137/0.142, allocations: 454.5 kB / 0.5655 GB, free: 12.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1421, allocations: 103.1 kB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.1427, allocations: 0.5097 MB / 0.5661 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1427, allocations: 29.81 kB / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1429, allocations: 212.2 kB / 0.5663 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.143, allocations: 59.48 kB / 0.5664 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1431, allocations: 53.64 kB / 0.5664 GB, free: 11.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1432, allocations: 354.8 kB / 0.5668 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1436, allocations: 123.9 kB / 0.5669 GB, free: 10.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1439, allocations: 169 kB / 0.567 GB, free: 10.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.1446, allocations: 309.8 kB / 0.5673 GB, free: 10.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1446, allocations: 0 / 0.5673 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008125/0.1454, allocations: 378.7 kB / 0.5677 GB, free: 9.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1454, allocations: 8 kB / 0.5677 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/0.1455, allocations: 31.98 kB / 0.5677 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1455, allocations: 4 kB / 0.5677 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1457, allocations: 36.06 kB / 0.5678 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1457, allocations: 4 kB / 0.5678 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.146, allocations: 67.48 kB / 0.5678 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.146, allocations: 8 kB / 0.5679 GB, free: 9.582 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002115/0.1462, allocations: 185.7 kB / 0.568 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1463, allocations: 35.77 kB / 0.5681 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/0.1471, allocations: 392.5 kB / 0.5684 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.1471, allocations: 7.984 kB / 0.5684 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1471, allocations: 4 kB / 0.5684 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1471, allocations: 0 / 0.5684 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.1477, allocations: 373.2 kB / 0.5688 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.117e-05/0.1478, allocations: 31.98 kB / 0.5688 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1479, allocations: 23.97 kB / 0.5689 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1479, allocations: 0 / 0.5689 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.1479, allocations: 12 kB / 0.5689 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1479, allocations: 4 kB / 0.5689 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1479, allocations: 7.938 kB / 0.5689 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.1488, allocations: 0.5778 MB / 0.5694 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.149, allocations: 120.8 kB / 0.5696 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.149, allocations: 0 / 0.5696 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1493, allocations: 23.97 kB / 0.5696 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.1494, allocations: 19.98 kB / 0.5696 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.1494, allocations: 11.98 kB / 0.5696 GB, free: 7.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004417/0.1499, allocations: 375 kB / 0.57 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1499, allocations: 0 / 0.57 GB, free: 7.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.1504, allocations: 115.8 kB / 0.5701 GB, free: 7.195 MB / 430.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001418/0.1518, allocations: 1.175 MB / 0.5712 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009184/0.1527, allocations: 0.511 MB / 0.5717 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1527, allocations: 0 / 0.5717 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.1532, allocations: 383.3 kB / 0.5721 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.1539, allocations: 93.83 kB / 0.5722 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.1607, allocations: 4.759 MB / 0.5768 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.1612, allocations: 0.8457 MB / 0.5777 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1614, allocations: 67.23 kB / 0.5777 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.1616, allocations: 111.4 kB / 0.5778 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1616, allocations: 0 / 0.5778 GB, free: 14.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.1975, allocations: 11.45 MB / 0.589 GB, free: 3.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.663, allocations: 8 kB / 0.589 GB, free: 3.723 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.841456763911992] Failed to read output from testmodel.py, exit status != 0: ['time', 'n_nt[1]', 'n_nt[2]', 'n_nt[3]', 'cp[1]', 'cp[2]', 'cp[3]', 'eta[1]', 'eta[2]', 'eta[3]', 'lambda[1]', 'lambda[2]', 'lambda[3]', 'rho[1]', 'rho[2]', 'rho[3]', 'm_flow[1]', 'm_flow[2]', 'm_flow[3]', 'Re_1[1]', 'Re_1[2]', 'Re_1[3]', 'Nu_1[1]', 'Nu_1[2]', 'Nu_1[3]', 'Nu_2[1]', 'Nu_2[2]', 'Nu_2[3]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_1.y', 'input_mflow_2.y', 'input_mflow_0.y'] 8.73764123301953 9.005980839 8.869412048 Calling exit ...