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.001451/0.001451, allocations: 108.1 kB / 20.42 MB, free: 1.535 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.001433/0.001433, allocations: 212.7 kB / 23.72 MB, free: 4.965 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.462/1.462, allocations: 230.2 MB / 257.1 MB, free: 8.52 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.2231/0.2231, allocations: 46.89 MB / 360.3 MB, free: 4.648 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.002537/0.002537, allocations: 75.88 kB / 0.4956 GB, free: 8.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3507, allocations: 66 MB / 0.56 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003701/0.3544, allocations: 2.151 MB / 0.5621 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3565, allocations: 1.227 MB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.3566, allocations: 11.94 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3569, allocations: 67.58 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3571, allocations: 95.38 kB / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.3576, allocations: 187.3 kB / 0.5637 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.3581, allocations: 437.9 kB / 0.5641 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3582, allocations: 20.73 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.3584, allocations: 155.2 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.3587, allocations: 183.1 kB / 0.5644 GB, free: 404 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3587, allocations: 12 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.3591, allocations: 231.6 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3592, allocations: 95.52 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3594, allocations: 167 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.36, allocations: 0.4957 MB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.36, allocations: 0 / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.36, allocations: 7.938 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.36, allocations: 0 / 0.5654 GB, free: 15.39 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.001231/0.3613, allocations: 0.7129 MB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3613, allocations: 8.031 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.763e-05/0.3614, allocations: 86.7 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.3618, allocations: 84.61 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.3622, allocations: 292.5 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3622, allocations: 29.38 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.3623, allocations: 32.38 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/0.3632, allocations: 0.5856 MB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3633, allocations: 0 / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.3633, allocations: 16 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.3633, allocations: 21 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008436/0.3642, allocations: 435.5 kB / 0.5676 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3662, allocations: 1.372 MB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.3668, allocations: 271.6 kB / 0.5692 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.3672, allocations: 138.4 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.3672, allocations: 7.984 kB / 0.5694 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3673, allocations: 34.56 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.454e-06/0.3673, allocations: 0 / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001257/0.3685, allocations: 461.3 kB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3686, allocations: 106.8 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.3692, allocations: 0.5057 MB / 0.5704 GB, free: 9.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3692, allocations: 25.81 kB / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.3694, allocations: 208.2 kB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.3694, allocations: 63.42 kB / 0.5707 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3696, allocations: 53.69 kB / 0.5708 GB, free: 9.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3697, allocations: 354.8 kB / 0.5711 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3701, allocations: 127.9 kB / 0.5712 GB, free: 9.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3704, allocations: 165 kB / 0.5714 GB, free: 8.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.3711, allocations: 303.8 kB / 0.5717 GB, free: 8.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3711, allocations: 0 / 0.5717 GB, free: 8.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008317/0.3719, allocations: 384.9 kB / 0.572 GB, free: 8.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3719, allocations: 11.88 kB / 0.572 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/0.372, allocations: 36.14 kB / 0.5721 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.372, allocations: 4 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.3722, allocations: 27.97 kB / 0.5721 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3723, allocations: 4 kB / 0.5721 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3725, allocations: 59.59 kB / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.3726, allocations: 12 kB / 0.5722 GB, free: 8.098 MB / 414.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.0002136/0.3728, allocations: 181.7 kB / 0.5724 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.3729, allocations: 47.66 kB / 0.5724 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.3737, allocations: 384.6 kB / 0.5728 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3737, allocations: 4 kB / 0.5728 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3737, allocations: 0 / 0.5728 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3737, allocations: 0 / 0.5728 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.3743, allocations: 369.2 kB / 0.5731 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-05/0.3743, allocations: 31.98 kB / 0.5732 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.3745, allocations: 35.84 kB / 0.5732 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3745, allocations: 0 / 0.5732 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.3746, allocations: 12 kB / 0.5732 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3746, allocations: 0 / 0.5732 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3746, allocations: 4 kB / 0.5732 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.3755, allocations: 0.575 MB / 0.5738 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3756, allocations: 120.8 kB / 0.5739 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.3757, allocations: 7.984 kB / 0.5739 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.3759, allocations: 15.98 kB / 0.5739 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.175e-05/0.376, allocations: 27.92 kB / 0.5739 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.3761, allocations: 15.92 kB / 0.5739 GB, free: 6.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004213/0.3765, allocations: 379 kB / 0.5743 GB, free: 5.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3765, allocations: 0 / 0.5743 GB, free: 5.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005146/0.377, allocations: 115.8 kB / 0.5744 GB, free: 5.707 MB / 414.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.001407/0.3784, allocations: 1.174 MB / 0.5756 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.3793, allocations: 0.5067 MB / 0.5761 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3793, allocations: 0 / 0.5761 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.3798, allocations: 383.4 kB / 0.5764 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.3804, allocations: 89.39 kB / 0.5765 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.3874, allocations: 4.758 MB / 0.5812 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.3879, allocations: 0.8497 MB / 0.582 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.3882, allocations: 55.25 kB / 0.582 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3884, allocations: 111.4 kB / 0.5821 GB, free: 13.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3884, allocations: 0 / 0.5821 GB, free: 13.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.4238, allocations: 11.41 MB / 0.5933 GB, free: 2.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.851, allocations: 6.875 kB / 0.5933 GB, free: 2.234 MB / 430.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.660809690132737] 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.92934347409755 8.957855523 8.592734588 Calling exit ...