Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.91 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.89 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3824, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00443/0.3869, allocations: 2.044 MB / 0.5598 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.389, allocations: 1.173 MB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3891, allocations: 7.938 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.3894, allocations: 59.66 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.3897, allocations: 71.53 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.3903, allocations: 187.3 kB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.3907, allocations: 330.4 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.3908, allocations: 14.77 kB / 0.5616 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3911, allocations: 123.4 kB / 0.5617 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.3913, allocations: 139.3 kB / 0.5619 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.3913, allocations: 12 kB / 0.5619 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.3917, allocations: 211.8 kB / 0.5621 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3919, allocations: 75.66 kB / 0.5621 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.392, allocations: 127.2 kB / 0.5623 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.3926, allocations: 398.3 kB / 0.5627 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3926, allocations: 0 / 0.5627 GB, free: 2.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.3926, allocations: 3.984 kB / 0.5627 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3926, allocations: 0 / 0.5627 GB, free: 2.832 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001164/0.3938, allocations: 0.5712 MB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3938, allocations: 8.031 kB / 0.5632 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.354e-05/0.3938, allocations: 8.844 kB / 0.5632 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.94e-05/0.3939, allocations: 74.72 kB / 0.5633 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.3943, allocations: 68.66 kB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3946, allocations: 205.9 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3947, allocations: 24.64 kB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.3947, allocations: 28 kB / 0.5636 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.3955, allocations: 430.6 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3955, allocations: 0 / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.3955, allocations: 15.98 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.3955, allocations: 12.66 kB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.3962, allocations: 326.3 kB / 0.5644 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.3978, allocations: 1.062 MB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.3983, allocations: 235.7 kB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.3986, allocations: 110.4 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.3987, allocations: 4 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3987, allocations: 38.5 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3987, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001073/0.3998, allocations: 361.1 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.3999, allocations: 106.8 kB / 0.5662 GB, free: 14.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.4003, allocations: 409.5 kB / 0.5666 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.4004, allocations: 29.7 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.4005, allocations: 208.1 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.4006, allocations: 43.64 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4007, allocations: 65.89 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4009, allocations: 342.8 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.4012, allocations: 116.1 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.4016, allocations: 235.8 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.4024, allocations: 371.3 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4024, allocations: 0 / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008877/0.4032, allocations: 400.8 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4033, allocations: 8.531 kB / 0.5683 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/0.4033, allocations: 24 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4033, allocations: 11.94 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4036, allocations: 51.89 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4036, allocations: 11.94 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.4039, allocations: 55.59 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.4039, allocations: 16 kB / 0.5685 GB, free: 12.46 MB / 414.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.000212/0.4041, allocations: 183.5 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4042, allocations: 35.81 kB / 0.5687 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006536/0.4049, allocations: 284.3 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.4049, allocations: 3.938 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4049, allocations: 4 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4049, allocations: 0 / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.4054, allocations: 268.6 kB / 0.5693 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.4054, allocations: 27.98 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.4056, allocations: 31.97 kB / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4056, allocations: 0 / 0.5693 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.4056, allocations: 4 kB / 0.5693 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4056, allocations: 8.031 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4056, allocations: 3.938 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.4065, allocations: 0.5208 MB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.4066, allocations: 35.75 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.4066, allocations: 0 / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.4069, allocations: 23.92 kB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.4069, allocations: 23.97 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.407, allocations: 4 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.4073, allocations: 295.1 kB / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 0 / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000525/0.4078, allocations: 91.88 kB / 0.5703 GB, free: 10.57 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 (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.001358/0.4092, allocations: 1.093 MB / 0.5714 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008486/0.41, allocations: 422.7 kB / 0.5718 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.41, allocations: 4 kB / 0.5718 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.4104, allocations: 270 kB / 0.572 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.4111, allocations: 73.95 kB / 0.5721 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.417, allocations: 3.838 MB / 0.5758 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.4176, allocations: 0.7986 MB / 0.5766 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.4178, allocations: 74.89 kB / 0.5767 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.4179, allocations: 83.41 kB / 0.5768 GB, free: 3.613 MB / 414.1 MB Notification: Performance of SimCode: time 1.823e-06/0.4179, allocations: 0 / 0.5768 GB, free: 3.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.4532, allocations: 9.423 MB / 0.586 GB, free: 10.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.84, allocations: 8.281 kB / 0.586 GB, free: 10.41 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.85442571400199] 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]', '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]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 12.01248406904051 12.042287707 11.643521597 Calling exit ...