Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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.001214/0.001214, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001383/0.001383, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2265/0.2265, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",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.002049/0.002049, allocations: 55.91 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 65.48 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003729/0.3416, allocations: 2.057 MB / 0.5598 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3446, allocations: 1.919 MB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.3447, allocations: 4 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.345, allocations: 55.61 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.3453, allocations: 115.3 kB / 0.5618 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3464, allocations: 434.8 kB / 0.5622 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3469, allocations: 449.9 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.3469, allocations: 16.92 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.3472, allocations: 183.1 kB / 0.5628 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3475, allocations: 195 kB / 0.563 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.3475, allocations: 12 kB / 0.563 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.3482, allocations: 375.5 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3483, allocations: 119.4 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3485, allocations: 155 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008656/0.3493, allocations: 0.6593 MB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3493, allocations: 0 / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3494, allocations: 0 / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3494, allocations: 0 / 0.5643 GB, free: 0.8242 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001329/0.3507, allocations: 0.7092 MB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3507, allocations: 12.03 kB / 0.565 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.3508, allocations: 13.19 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3509, allocations: 82.7 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.3513, allocations: 88.61 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3517, allocations: 254.9 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3517, allocations: 33.36 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.3518, allocations: 36.38 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.3527, allocations: 0.5777 MB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3528, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.3528, allocations: 16 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.3528, allocations: 20.98 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.3537, allocations: 427.6 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.3556, allocations: 1.312 MB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.3562, allocations: 263.6 kB / 0.568 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.3565, allocations: 130.5 kB / 0.5682 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.3566, allocations: 7.984 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.3566, allocations: 42.61 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.3566, allocations: 0 / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001195/0.3578, allocations: 460.9 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.3579, allocations: 110.8 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.3585, allocations: 0.5408 MB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3585, allocations: 33.95 kB / 0.5693 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3587, allocations: 220.4 kB / 0.5695 GB, free: 11.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.3588, allocations: 55.55 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3589, allocations: 53.66 kB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3591, allocations: 354.8 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.3594, allocations: 127.9 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.3597, allocations: 171.8 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.3604, allocations: 311.4 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3604, allocations: 0 / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008533/0.3613, allocations: 392.9 kB / 0.5709 GB, free: 9.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3613, allocations: 4 kB / 0.5709 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.018e-05/0.3614, allocations: 24 kB / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3614, allocations: 4 kB / 0.571 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3616, allocations: 36.11 kB / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3616, allocations: 4 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3619, allocations: 63.48 kB / 0.5711 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.3619, allocations: 19.98 kB / 0.5711 GB, free: 9.598 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.0002146/0.3621, allocations: 193.6 kB / 0.5713 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3623, allocations: 47.66 kB / 0.5713 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.363, allocations: 380.7 kB / 0.5717 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3631, allocations: 8 kB / 0.5717 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3631, allocations: 0 / 0.5717 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3631, allocations: 4 kB / 0.5717 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.3636, allocations: 316.5 kB / 0.572 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.3637, allocations: 31.94 kB / 0.572 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3638, allocations: 27.97 kB / 0.572 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3638, allocations: 3.984 kB / 0.572 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.3639, allocations: 8 kB / 0.572 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3639, allocations: 0 / 0.572 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3639, allocations: 4 kB / 0.5721 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.3647, allocations: 0.5834 MB / 0.5726 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3649, allocations: 87.59 kB / 0.5727 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.365, allocations: 4 kB / 0.5727 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.3653, allocations: 19.98 kB / 0.5727 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.3654, allocations: 19.97 kB / 0.5727 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3654, allocations: 12 kB / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.3659, allocations: 415 kB / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3659, allocations: 0 / 0.5732 GB, free: 7.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005884/0.3665, allocations: 155.6 kB / 0.5733 GB, free: 7.238 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.001511/0.368, allocations: 1.259 MB / 0.5745 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009018/0.3689, allocations: 0.5138 MB / 0.575 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3689, allocations: 0 / 0.575 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.3694, allocations: 387.4 kB / 0.5754 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.3701, allocations: 93.83 kB / 0.5755 GB, free: 4.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006933/0.377, allocations: 4.947 MB / 0.5803 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3773, allocations: 252.3 kB / 0.5806 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00019/0.3775, allocations: 67.23 kB / 0.5806 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.3776, allocations: 119.4 kB / 0.5807 GB, free: 15.35 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3776, allocations: 3.938 kB / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.4151, allocations: 14.16 MB / 0.5946 GB, free: 1.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.4, allocations: 15.8 kB / 0.5946 GB, free: 1.504 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.364926684997045] 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]', 'Nu_3[1]', 'Nu_3[2]', 'Nu_3[3]', 'frac_dhydTodcoil[1]', 'frac_dhydTodcoil[2]', 'frac_dhydTodcoil[3]', 'd_coil[1]', 'd_coil[2]', 'd_coil[3]', 'd_w[1]', 'd_w[2]', 'd_w[3]', 'n_nt[1]', 'n_nt[2]', 'n_nt[3]', 'Re', 'Pr[1]', 'Pr[2]', 'Pr[3]', 'input_mflow_0.y', 'input_mflow_1.y', 'input_mflow_2.y'] 12.572168780025095 12.589636567 12.236735614 Calling exit ...