Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00128/0.00128, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.00139/0.00139, allocations: 209.3 kB / 24.51 MB, free: 3.941 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.346/1.346, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.95 MB / 361.6 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 79.88 kB / 0.4969 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3055, allocations: 66.08 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.00372/0.3092, allocations: 2.045 MB / 0.5635 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.311, allocations: 1.102 MB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.3111, allocations: 4 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3114, allocations: 67.59 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.3117, allocations: 103.3 kB / 0.5647 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.3122, allocations: 187.3 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005481/0.3128, allocations: 434 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.3128, allocations: 12.94 kB / 0.5653 GB, free: 84 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.3131, allocations: 167.2 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3134, allocations: 191 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.3134, allocations: 12 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3137, allocations: 139.8 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3138, allocations: 91.53 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.314, allocations: 139.1 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.3146, allocations: 483.6 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3146, allocations: 4 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3146, allocations: 0 / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3146, allocations: 0 / 0.5665 GB, free: 14.88 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.001141/0.3157, allocations: 0.6454 MB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3158, allocations: 12.03 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.3158, allocations: 13.12 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.206e-05/0.3159, allocations: 78.72 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.3163, allocations: 80.61 kB / 0.5673 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3166, allocations: 238.7 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.3166, allocations: 33.36 kB / 0.5676 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.3167, allocations: 36.38 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.3176, allocations: 0.5777 MB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3176, allocations: 3.938 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.3177, allocations: 16 kB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.3177, allocations: 17 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.3185, allocations: 431.5 kB / 0.5686 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.3205, allocations: 1.297 MB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.321, allocations: 263.6 kB / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.3213, allocations: 130.5 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.3214, allocations: 11.98 kB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3214, allocations: 42.5 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.3214, allocations: 0 / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001192/0.3226, allocations: 453 kB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.3227, allocations: 107.1 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.3233, allocations: 0.5057 MB / 0.5713 GB, free: 9.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3233, allocations: 25.7 kB / 0.5713 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3234, allocations: 208.3 kB / 0.5715 GB, free: 9.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3235, allocations: 55.48 kB / 0.5716 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3236, allocations: 53.69 kB / 0.5716 GB, free: 9.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3238, allocations: 354.9 kB / 0.572 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.3241, allocations: 123.8 kB / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3244, allocations: 176.9 kB / 0.5723 GB, free: 8.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.3251, allocations: 299.4 kB / 0.5726 GB, free: 8.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3251, allocations: 4 kB / 0.5726 GB, free: 8.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008302/0.3259, allocations: 388.9 kB / 0.5729 GB, free: 7.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3259, allocations: 4 kB / 0.5729 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-05/0.326, allocations: 31.98 kB / 0.573 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.326, allocations: 4.156 kB / 0.573 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3262, allocations: 35.97 kB / 0.573 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3262, allocations: 3.938 kB / 0.573 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.3264, allocations: 55.59 kB / 0.5731 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3265, allocations: 16 kB / 0.5731 GB, free: 7.832 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.0001958/0.3267, allocations: 179.1 kB / 0.5732 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3268, allocations: 47.66 kB / 0.5733 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.3275, allocations: 392.4 kB / 0.5737 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3275, allocations: 4 kB / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3275, allocations: 0 / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3275, allocations: 0 / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.3281, allocations: 316.5 kB / 0.574 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.293e-05/0.3281, allocations: 31.92 kB / 0.574 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3283, allocations: 23.97 kB / 0.574 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3283, allocations: 4 kB / 0.574 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3283, allocations: 11.94 kB / 0.574 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3283, allocations: 8 kB / 0.574 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3283, allocations: 0 / 0.574 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.3291, allocations: 0.5841 MB / 0.5746 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.3292, allocations: 47.64 kB / 0.5747 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.3292, allocations: 8 kB / 0.5747 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.3295, allocations: 15.97 kB / 0.5747 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.3296, allocations: 23.97 kB / 0.5747 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3296, allocations: 16 kB / 0.5747 GB, free: 6.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004082/0.33, allocations: 375 kB / 0.5751 GB, free: 5.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 0 / 0.5751 GB, free: 5.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.3305, allocations: 107.8 kB / 0.5752 GB, free: 5.605 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.00129/0.3318, allocations: 1.167 MB / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.3326, allocations: 0.5184 MB / 0.5768 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3326, allocations: 0 / 0.5768 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.3331, allocations: 383.1 kB / 0.5772 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.3338, allocations: 101.9 kB / 0.5773 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.34, allocations: 4.732 MB / 0.5819 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3403, allocations: 247.7 kB / 0.5822 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3404, allocations: 59.23 kB / 0.5822 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3406, allocations: 107.4 kB / 0.5823 GB, free: 14.02 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3406, allocations: 0 / 0.5823 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.3751, allocations: 12.23 MB / 0.5943 GB, free: 2.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.65, allocations: 11.86 kB / 0.5943 GB, free: 2.02 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.362788973026909] 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'] 11.811208283063024 11.826420638 11.508905065 Calling exit ...